]> khamidou — GitHub mirrors - electron.git/commitdiff
Force running uv loop under a handle scope. Fixed #13.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 22 May 2013 01:13:32 +0000 (09:13 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 22 May 2013 01:13:32 +0000 (09:13 +0800)
common/node_bindings_mac.mm
vendor/brightray

index 9e984e17ea5c6af65b8e5deb0c53eb5820c4eeb2..0c15387ced2354a59fefad2cb7ccd3e8b96a8bc8 100644 (file)
@@ -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.
index 932b41d6b0abd87fa576e41e70261b15943c6e83..05db4299da03bad186bf394761843c5dcc8a8203 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 932b41d6b0abd87fa576e41e70261b15943c6e83
+Subproject commit 05db4299da03bad186bf394761843c5dcc8a8203