Fixed crash on plugin unload
This commit is contained in:
parent
fd7ad82e2f
commit
0e1d7e579e
@ -53,6 +53,6 @@ class PluginRepository:
|
|||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self._command_compilers = {}
|
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()
|
plugin_instance.close()
|
||||||
self._logger.info(f"Unloaded plugin: {plugin_name}")
|
self._logger.info(f"Unloaded plugin: {plugin_name}")
|
||||||
|
Loading…
Reference in New Issue
Block a user