mirror of
https://github.com/boostorg/process.git
synced 2026-02-01 08:42:15 +00:00
Simplify async_pipe's move assignment so it now properly closes the old pipe handles by swapping the asio stream_descriptors. Reassigning async_pipes previously raised exceptions complaining about EBADF or EEXIST. I think the ::close calls in the destructor and the move assignment were not closing the pipe correctly.