mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 09:07:40 +00:00
remove() marked the host as being removed, then awaited disconnect and releaseHolder with no cleanup on failure. A throw (EBUSY/EPERM on Windows) left every later connect and runtime call refused. Clear the mark in a finally, keep the record and its visible work (dropped only on success), and rethrow so the user sees the error and can retry.