Showing the changes to libraries/script-engine/src/v8/ScriptProgramV8Wrapper.cpp (1 of 9 files). Show all
Unified · Split
| @@ -35,6 +35,7 @@ bool ScriptProgramV8Wrapper::compile() { · 34 unmodified lines | |||
| 35 | auto isolate = _engine->getIsolate(); | 35 | auto isolate = _engine->getIsolate(); |
| 36 | v8::HandleScope handleScope(isolate); | 36 | v8::HandleScope handleScope(isolate); |
| 37 | auto context = _engine->getContext(); | 37 | auto context = _engine->getContext(); |
| 38 | v8::Context::Scope contextScope(context); | ||
| 38 | int errorColumnNumber = 0; | 39 | int errorColumnNumber = 0; |
| 39 | int errorLineNumber = 0; | 40 | int errorLineNumber = 0; |
| 40 | QString errorMessage = ""; | 41 | QString errorMessage = ""; |