mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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:
|
finally:
|
||||||
self._bulk_counter -= 1
|
self._bulk_counter -= 1
|
||||||
|
|
||||||
# Trigger validation if there is no more context manager for bulk
|
# Trigger validation if there is no more context manager for bulk
|
||||||
# instance validation
|
# instance validation
|
||||||
if self._bulk_counter == 0:
|
if self._bulk_counter != 0:
|
||||||
|
return
|
||||||
|
|
||||||
(
|
(
|
||||||
self._bulk_instances_to_process,
|
self._bulk_instances_to_process,
|
||||||
instances_to_validate
|
instances_to_validate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue