Commit 1ce87ebd authored by Nico Alt's avatar Nico Alt

Fix calling callbacks in socket listener

parent c25e5d1b
Pipeline #4299 passed with stage
in 1 minute and 36 seconds
......@@ -73,7 +73,7 @@ class SocketListener(): # pylint: disable=too-few-public-methods
def _call_signal_callbacks(self, message):
self._signals_lock.acquire()
for signal in self._signals:
for _, signal in self._signals.items():
if signal["event"] == message['name']:
signal["callback"](message)
self._signals_lock.release()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment