mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added one more check on start action server
This commit is contained in:
parent
db77c06555
commit
0e5cb8652c
1 changed files with 6 additions and 0 deletions
|
|
@ -77,6 +77,12 @@ class FtrackModule:
|
|||
def start_action_server(self):
|
||||
self.bool_action_thread_running = True
|
||||
self.set_menu_visibility()
|
||||
if (
|
||||
self.thread_action_server is not None and
|
||||
self.bool_action_thread_running is False
|
||||
):
|
||||
self.stop_action_server()
|
||||
|
||||
if self.thread_action_server is None:
|
||||
self.thread_action_server = threading.Thread(
|
||||
target=self.set_action_server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue