fix: preserve async writer ownership and bounded handoff
This commit is contained in:
1 parent
ddff6bd857
commit
8374cabe5c
12 files changed
+692
-47
No files matched your search
@@ -563,11 +563,9 @@ def _prove_library_released(library, block_name=None, *, block_names=(), allow_u
|
||||
from .icdb_ownership import inspect_release_addresses
|
||||
# Checkpoint I/O is per-library; only native inspection owns
|
||||
# the host channel. The sidecar still excludes other writers.
|
||||
from .operation_queue import native_channel
|
||||
with native_channel(inspection_only=True):
|
||||
if stop is not None and stop.is_set():
|
||||
raise InterruptedError('已停止释放检查')
|
||||
inspections = inspect_release_addresses(files, stop=stop)
|
||||
if stop is not None and stop.is_set():
|
||||
raise InterruptedError('已停止释放检查')
|
||||
inspections = inspect_release_addresses(files, stop=stop)
|
||||
try:
|
||||
current = stack.enter_context(hold_release_files(library, roots, stop=stop))
|
||||
except OSError as error:
|
||||
|
||||
Reference in new issue
Block a user