mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 07:41:32 +00:00
Fix race condition in FrontendConfigHandler (frontend.ready)
This commit is contained in:
parent
ac198e5731
commit
ba4803d660
@ -12,7 +12,7 @@ class FrontendConfigHandler:
|
|||||||
def handle_event(self, _, connector):
|
def handle_event(self, _, connector):
|
||||||
# pylint: disable=no-self-use
|
# pylint: disable=no-self-use
|
||||||
for message in self._config_messages:
|
for message in self._config_messages:
|
||||||
connector.send_message(message)
|
connector.send_message(message, scope=Scope.WEBSOCKET)
|
||||||
connector.send_message({'key': 'frontend.ready'}, scope=Scope.WEBSOCKET)
|
connector.send_message({'key': 'frontend.ready'}, scope=Scope.WEBSOCKET)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user