Skip to content

Commit 04c7ff9

Browse files
committed
fix(worker): remove force_shutdown code accidentally injected into pre-warm FFI block
1 parent 38709f8 commit 04c7ff9

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/omnipkg/isolation/worker_daemon.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,10 +1036,6 @@ def flush(self_buf):
10361036
if _ffi_fn_rc is not None:
10371037
_live_core = getattr(_rcli, '_PRELOADED_CORE', None)
10381038
if _live_core is not None and not getattr(_live_core, '_uv_ffi_run', None):
1039-
try:
1040-
# First check if already dead (workers that ran run_cli call sys.exit)
1041-
if self.process.poll() is None:
1042-
# Still running — try graceful shutdown
10431039
try:
10441040
_live_core._uv_ffi_run = _ffi_fn_rc
10451041
except Exception:

0 commit comments

Comments
 (0)