modify execute python script handling for old gui to wait for script to complete before looking for new session to avoid possible race conditions
This commit is contained in:
parent
e1c9155ba7
commit
20e3fbc7d9
1 changed files with 1 additions and 2 deletions
|
@ -952,8 +952,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
|||
daemon=True,
|
||||
)
|
||||
thread.start()
|
||||
# allow time for session creation
|
||||
time.sleep(0.25)
|
||||
thread.join()
|
||||
|
||||
if message.flags & MessageFlags.STRING.value:
|
||||
new_session_ids = set(self.coreemu.sessions.keys())
|
||||
|
|
Loading…
Reference in a new issue