diff --git a/src/EventManager.py b/src/EventManager.py index 473386c2..2f1e8e23 100644 --- a/src/EventManager.py +++ b/src/EventManager.py @@ -244,6 +244,7 @@ class EventHook(object): def remove_context(self, context: str): del self._context_hooks[context] + self.check_purge() def has_context(self, context: str) -> bool: return context in self._context_hooks def purge_context(self, context: str):