diff --git a/gns3server/compute/notification_manager.py b/gns3server/compute/notification_manager.py index 22955b177..44c9ca391 100644 --- a/gns3server/compute/notification_manager.py +++ b/gns3server/compute/notification_manager.py @@ -54,7 +54,7 @@ def emit(self, action, event, **kwargs): """ for listener in self._listeners: - asyncio.get_event_loop().call_soon(listener.put_nowait, (action, event, kwargs)) + asyncio.get_event_loop().call_soon_threadsafe(listener.put_nowait, (action, event, kwargs)) @staticmethod def reset():