History

More fixes for V8

ksuprynowicz committed 3 years ago

Commit 97137c71 parent 2f9f78f9 files · +214 −72Browse files

Showing the changes to libraries/script-engine/src/v8/ScriptProgramV8Wrapper.cpp (1 of 9 files). Show all

Unified · Split

libraries/script-engine/src/v8/ScriptProgramV8Wrapper.cpp+1−0
@@ -35,6 +35,7 @@ bool ScriptProgramV8Wrapper::compile() { · 34 unmodified lines
3535 auto isolate = _engine->getIsolate();
3636 v8::HandleScope handleScope(isolate);
3737 auto context = _engine->getContext();
38+ v8::Context::Scope contextScope(context);
3839 int errorColumnNumber = 0;
3940 int errorLineNumber = 0;
4041 QString errorMessage = "";