fix: uv_walk crash on web worker close (#24436)
* fix: uv_walk crash on web worker close * Use DCHECK_EQ
This commit is contained in:
parent
2aeaca6f7b
commit
6cfbee9f34
2 changed files with 22 additions and 18 deletions
|
@ -58,6 +58,8 @@ class NodeBindings {
|
|||
|
||||
uv_loop_t* uv_loop() const { return uv_loop_; }
|
||||
|
||||
bool in_worker_loop() const { return uv_loop_ == &worker_loop_; }
|
||||
|
||||
protected:
|
||||
explicit NodeBindings(BrowserEnvironment browser_env);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue