Force running uv loop under a handle scope. Fixed #13.
This commit is contained in:
parent
2bb33d8b32
commit
d265121ed0
2 changed files with 2 additions and 1 deletions
|
@ -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
|
@ -1 +1 @@
|
|||
Subproject commit 932b41d6b0abd87fa576e41e70261b15943c6e83
|
||||
Subproject commit 05db4299da03bad186bf394761843c5dcc8a8203
|
Loading…
Add table
Reference in a new issue