Loading editor/src/node_bridge.h +5 −0 Changes for editor/src/node_bridge.h: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -149,6 +149,11 @@ inline int runNodeRunnerInProcess(const std::string &reqPath, return 1; } v8::Locker locker(setup->isolate()); v8::Isolate::Scope isolateScope(setup->isolate()); v8::HandleScope handleScope(setup->isolate()); v8::Context::Scope contextScope(setup->context()); if (node::LoadEnvironment(setup->env(), bridgeScript).IsEmpty()) { std::cerr << "Node bridge runtime error: LoadEnvironment returned empty result" << std::endl; teardown(); Loading Loading
editor/src/node_bridge.h +5 −0 Changes for editor/src/node_bridge.h: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -149,6 +149,11 @@ inline int runNodeRunnerInProcess(const std::string &reqPath, return 1; } v8::Locker locker(setup->isolate()); v8::Isolate::Scope isolateScope(setup->isolate()); v8::HandleScope handleScope(setup->isolate()); v8::Context::Scope contextScope(setup->context()); if (node::LoadEnvironment(setup->env(), bridgeScript).IsEmpty()) { std::cerr << "Node bridge runtime error: LoadEnvironment returned empty result" << std::endl; teardown(); Loading