Skip to content

Commit

Permalink
fix: add uv_loop_close when object release to fix crash (#35336)
Browse files Browse the repository at this point in the history
Co-authored-by: yangzuohui <yangzuohui@bytedance.com>
  • Loading branch information
trop[bot] and yangzuohui committed Aug 16, 2022
1 parent 855536b commit 8caea90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/common/node_bindings.cc
Expand Up @@ -136,6 +136,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;
Expand Down

0 comments on commit 8caea90

Please sign in to comment.