mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Force running uv loop under a handle scope. Fixed #13.
This commit is contained in:
@@ -64,6 +64,7 @@ void NodeBindingsMac::UvRunOnce() {
|
||||
DCHECK(!is_browser_ || BrowserThread::CurrentlyOn(BrowserThread::UI));
|
||||
|
||||
// Enter node context while dealing with uv events.
|
||||
v8::HandleScope scope;
|
||||
v8::Context::Scope context_scope(node::g_context);
|
||||
|
||||
// Deal with uv events.
|
||||
|
||||
2
vendor/brightray
vendored
2
vendor/brightray
vendored
Submodule vendor/brightray updated: 932b41d6b0...05db4299da
Reference in New Issue
Block a user