Workaround io-layer crashing when the runtime exit without cleaning up everything.
* handles.c (handle_cleanup): When the runtime exit(), not everything is shutdown and the main thread might be waiting on other threads to finish. On this case, io-layer cleanup with assert as a mutex will be in use. The work-around is to be lenient to busy resources during shutdown.
Showing
想要评论请 注册 或 登录