mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
stop publishing in middle of instance loop
This commit is contained in:
parent
9fee13a58a
commit
c49b83ac98
1 changed files with 5 additions and 0 deletions
|
|
@ -302,6 +302,11 @@ class Controller(QtCore.QObject):
|
|||
"%s was inactive, skipping.." % instance
|
||||
)
|
||||
continue
|
||||
# Stop if was stopped
|
||||
if self.stopped:
|
||||
self.stopped = False
|
||||
yield IterationBreak("Stopped")
|
||||
|
||||
yield (plugin, instance)
|
||||
else:
|
||||
families = util.collect_families_from_instances(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue