fix: crash on WebWorker destruction (#35422)
This commit is contained in:
parent
2f23bdb19e
commit
1847581848
2 changed files with 7 additions and 3 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "shell/common/mac/main_application_bundle.h"
|
||||
#include "shell/common/node_includes.h"
|
||||
#include "third_party/blink/renderer/bindings/core/v8/v8_initializer.h" // nogncheck
|
||||
#include "third_party/electron_node/src/debug_utils.h"
|
||||
|
||||
#if !defined(MAS_BUILD)
|
||||
#include "shell/common/crash_keys.h"
|
||||
|
@ -136,7 +137,7 @@ void stop_and_close_uv_loop(uv_loop_t* loop) {
|
|||
break;
|
||||
|
||||
DCHECK_EQ(0, uv_loop_alive(loop));
|
||||
uv_loop_close(loop);
|
||||
node::CheckedUvLoopClose(loop);
|
||||
}
|
||||
|
||||
bool g_is_initialized = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue