mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-08 13:50:20 +00:00
The EVFILT_VNODE host watch thread in AddVnodeEvent ran RunHostWatch directly. RunHostWatch throws std::runtime_error on poll, inotify, kqueue or change-notification failures, and an exception escaping a detached std::thread calls std::terminate and aborts the whole process. The thread entry now catches std::exception, reports the message on stderr and ends the watch, which RunHostWatch has already closed on every throw path.