Fixed crash on plugin unload

This commit is contained in:
Pünkösd Marcell 2021-04-09 00:19:10 +02:00
parent fd7ad82e2f
commit 0e1d7e579e

View File

@ -53,6 +53,6 @@ class PluginRepository:
def close(self):
self._command_compilers = {}
for plugin_name, plugin_instance in self._loaded_plugins:
for plugin_name, plugin_instance in self._loaded_plugins.items():
plugin_instance.close()
self._logger.info(f"Unloaded plugin: {plugin_name}")