diff --git a/aiocraft/traits/callbacks.py b/aiocraft/traits/callbacks.py index 178e0b4..026e0d0 100644 --- a/aiocraft/traits/callbacks.py +++ b/aiocraft/traits/callbacks.py @@ -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: