Skip to content

Commit d592679

Browse files
authored
Merge branch 'development' into feature/mypy-precommit
2 parents 516fcc5 + 09c453d commit d592679

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nodescraper/pluginexecutor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@ def run_queue(self) -> list[PluginResult]:
194194
self.logger.exception("Unexpected exception running plugin queue: %s", str(e))
195195
finally:
196196
self.logger.info("Closing connections")
197-
for connection_manager in self.connection_library.values():
198-
connection_manager.disconnect()
199197

200198
if self.plugin_config.result_collators:
201199
self.logger.info("Running result collators")
@@ -217,6 +215,8 @@ def run_queue(self) -> list[PluginResult]:
217215
],
218216
**collator_args,
219217
)
218+
for connection_manager in self.connection_library.values():
219+
connection_manager.disconnect()
220220

221221
return plugin_results
222222

0 commit comments

Comments
 (0)