support deinit
This commit is contained in:
parent
37c0ee8938
commit
9ff2f70284
3 changed files with 41 additions and 9 deletions
|
|
@ -130,6 +130,12 @@ class BaseBackend(object):
|
|||
self.storage = BackendStorage(self.name, storage)
|
||||
self.storage.load(self.STORAGE)
|
||||
|
||||
def deinit(self):
|
||||
"""
|
||||
This abstract method is called when the backend is unloaded.
|
||||
"""
|
||||
pass
|
||||
|
||||
@property
|
||||
def browser(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue