[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…
Reference in New Issue