Fix error 500 on PUT for cloud, nat, vmware and vpcs nodes. Fixes #2426

This commit is contained in:
grossmj committed 2024-11-19 12:21:35 +10:00
1 parent 8db81de153
commit a00f53fbaa
6 files changed
+17 -11

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ class NotificationManager:
"""
for listener in self._listeners:
asyncio.get_event_loop().call_soon_threadsafe(listener.put_nowait, (action, event, kwargs))
asyncio.get_running_loop().call_soon_threadsafe(listener.put_nowait, (action, event, kwargs))
@staticmethod
def reset():