diff --git a/src/api/dispatcher.cc b/src/api/dispatcher.cc index 4e34e003dc..1e411a00b2 100644 --- a/src/api/dispatcher.cc +++ b/src/api/dispatcher.cc @@ -116,8 +116,8 @@ v8::Handle Dispatcher::GetObjectRegistry() { v8::Handle registry = node::g_context->Global()->Get(v8_str("__nwObjectsRegistry")); node::g_context->Exit(); - if (registry->IsNull() || registry->IsUndefined()) - return v8::Undefined(); + // if (registry->IsNull() || registry->IsUndefined()) + // return v8::Undefined(); return registry->ToObject(); }