Skip to content

Commit 6298b35

Browse files
committed
Fix ordering of setting run to be active
1 parent 66ab3ab commit 6298b35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simvue/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,11 @@ def _start(self, reconnect: bool = False) -> bool:
379379
self._error(e.args[0])
380380
return False
381381

382+
self._active = True
383+
382384
self._dispatcher.start()
383385
self._heartbeat_thread.start()
384386

385-
self._active = True
386-
387387
return True
388388

389389
def _error(self, message: str, join_threads: bool = True) -> None:

0 commit comments

Comments
 (0)