fix: hand off UI shutdown without releasing native ownership
This commit is contained in:
1 parent
cd7a5e0ca1
commit
dbc685b9a5
10 files changed
+454
-52
No files matched your search
@@ -889,7 +889,7 @@ def _run_verify(request, *, timing, progress=None, flag_reader=None, process_run
|
||||
timing.begin('content_check')
|
||||
try:
|
||||
from .operation_queue import native_channel
|
||||
with native_channel():
|
||||
with native_channel(read_only=True):
|
||||
exit_code, stdout, stderr, timed_out = runner(command, request.timeout_seconds, Path(request.lmc_file).parent)
|
||||
finally:
|
||||
timing.end('content_check')
|
||||
@@ -1358,7 +1358,7 @@ def _run_verify(request, *, timing, progress=None, flag_reader=None, process_run
|
||||
if progress:
|
||||
_notify_progress(progress, {'stage': 'library_flag_probe', 'block': request.block_name, **record})
|
||||
try:
|
||||
with native_channel():
|
||||
with native_channel(read_only=True):
|
||||
probe = read_library_flag_with_retry(
|
||||
flag_reader or read_library_flag_if_available, Path(request.lmc_file),
|
||||
request.block_name, on_attempt=record_attempt)
|
||||
|
||||
Reference in new issue
Block a user