mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix bulk processing
This commit is contained in:
parent
3296079df6
commit
04b37b83c6
1 changed files with 5 additions and 3 deletions
|
|
@ -965,9 +965,11 @@ class CreateContext:
|
|||
finally:
|
||||
self._bulk_counter -= 1
|
||||
|
||||
# Trigger validation if there is no more context manager for bulk
|
||||
# instance validation
|
||||
if self._bulk_counter == 0:
|
||||
# Trigger validation if there is no more context manager for bulk
|
||||
# instance validation
|
||||
if self._bulk_counter != 0:
|
||||
return
|
||||
|
||||
(
|
||||
self._bulk_instances_to_process,
|
||||
instances_to_validate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue