mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user