mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[Plugins] Fix missing deregister for JSON
This commit is contained in:
parent
1425fe5413
commit
615500e6e6
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue