mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
added ensurence that it is not possible to run publishing twice
This commit is contained in:
parent
866fc2146d
commit
f17e2a4f28
1 changed files with 2 additions and 0 deletions
|
|
@ -571,6 +571,8 @@ class PublisherController:
|
|||
|
||||
def _start_publish(self):
|
||||
"""Start or continue in publishing."""
|
||||
if self._publish_is_running:
|
||||
return
|
||||
self._publish_is_running = True
|
||||
self._trigger_callbacks(self._publish_started_callback_refs)
|
||||
self._main_thread_processor.start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue