Commit 16445e3c authored by jan.koester's avatar jan.koester
Browse files

test

parent dfff8e38
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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();