Reset after_load actions before plugin reload
This commit is contained in:
parent
05fb60f809
commit
f671e699e6
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class PluginManager:
|
||||||
|
|
||||||
# Reload all plugins
|
# Reload all plugins
|
||||||
def reloadPlugins(self):
|
def reloadPlugins(self):
|
||||||
|
self.after_load = []
|
||||||
self.plugins_before = self.plugins
|
self.plugins_before = self.plugins
|
||||||
self.plugins = defaultdict(list) # Reset registered plugins
|
self.plugins = defaultdict(list) # Reset registered plugins
|
||||||
for module_name, module in sys.modules.items():
|
for module_name, module in sys.modules.items():
|
||||||
|
|
Loading…
Reference in a new issue