mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: add uv_loop_close when object release to fix crash (#35337)
Co-authored-by: yangzuohui <yangzuohui@bytedance.com>
This commit is contained in:
@@ -135,6 +135,7 @@ void stop_and_close_uv_loop(uv_loop_t* loop) {
|
||||
break;
|
||||
|
||||
DCHECK_EQ(0, uv_loop_alive(loop));
|
||||
uv_loop_close(loop);
|
||||
}
|
||||
|
||||
bool g_is_initialized = false;
|
||||
|
||||
Reference in New Issue
Block a user