mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-27 10:30:41 +00:00
[Plugins] Fix missing deregister for JSON
This commit is contained in:
parent
1425fe5413
commit
615500e6e6
@ -74,6 +74,9 @@ class WebPluginBase(PluginBase):
|
||||
component.get('JSON').register_object(self, plugin_name.lower())
|
||||
log.debug('WebPlugin initialized..')
|
||||
|
||||
def __del__(self):
|
||||
component.get('JSON').deregister_object(self)
|
||||
|
||||
def enable(self):
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user