From: Cheng Zhao Date: Wed, 22 May 2013 01:13:32 +0000 (+0800) Subject: Force running uv loop under a handle scope. Fixed #13. X-Git-Tag: v0.1.0~142 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d265121ed06417b0946aa36d39ccd93bdeb70baf;p=electron.git Force running uv loop under a handle scope. Fixed #13. --- diff --git a/common/node_bindings_mac.mm b/common/node_bindings_mac.mm index 9e984e17..0c15387c 100644 --- a/common/node_bindings_mac.mm +++ b/common/node_bindings_mac.mm @@ -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. diff --git a/vendor/brightray b/vendor/brightray index 932b41d6..05db4299 160000 --- a/vendor/brightray +++ b/vendor/brightray @@ -1 +1 @@ -Subproject commit 932b41d6b0abd87fa576e41e70261b15943c6e83 +Subproject commit 05db4299da03bad186bf394761843c5dcc8a8203