create also _tasks holder
This commit is contained in:
parent
3d88180892
commit
d82ba7a975
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ class CallbacksHolder:
|
|||
def __init__(self):
|
||||
super().__init__()
|
||||
self._callbacks = {}
|
||||
self._tasks = {}
|
||||
|
||||
def register(self, key:Any, callback:Callable):
|
||||
if key not in self._callbacks:
|
||||
|
|
Loading…
Reference in a new issue