You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use C++ shared_ptr for IPC file descriptor cleanup (#1832)
* Use C++ shared_ptr for IPC file descriptor cleanup
Replace Python-level os.close() in IPCAllocationHandle with a C++
shared_ptr custom deleter that calls POSIX close() directly, avoiding
unraisable exception errors during late interpreter shutdown.
Made-with: Cursor
* Fix Windows build: use _close() on Win32 for fd cleanup
Made-with: Cursor
* Windows: no-op deleter for fd handle (IPC is Linux-only)
Made-with: Cursor
* Fix Windows build: no-op fd handle with runtime_error guard
create_fd_handle and create_fd_handle_ref throw std::runtime_error
on Windows since POSIX file descriptors are Linux-only.
Made-with: Cursor
0 commit comments