fix: bound task handoff and preserve native writer ownership
This commit is contained in:
1 parent
0440b2efbf
commit
ddff6bd857
18 files changed
+1397
-118
No files matched your search
@@ -1285,6 +1285,8 @@ def management_worker_main(request_path):
|
||||
except (FileNotFoundError, PermissionError):
|
||||
result['safe_to_continue'] = True
|
||||
raise
|
||||
from .desktop_worker import register_native_writer
|
||||
register_native_writer(process)
|
||||
update_worker_state(job, 'NATIVE_CALL', identities=[('native', process.pid)], continuation=True)
|
||||
try:
|
||||
_write_json(root/'native-process.json', {'pid': process.pid, 'command': command})
|
||||
|
||||
Reference in new issue
Block a user