mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-22 06:31:55 +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):
|
||||
# pylint: disable=no-self-use
|
||||
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)
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user