Index: src/GlobalJsObject.cpp |
=================================================================== |
--- a/src/GlobalJsObject.cpp |
+++ b/src/GlobalJsObject.cpp |
@@ -5,6 +5,7 @@ |
v8::Handle<v8::ObjectTemplate> GlobalJsObject::Create( |
ErrorCallback& errorCallback) |
{ |
+ const v8::Locker locker(v8::Isolate::GetCurrent()); |
v8::HandleScope handleScope; |
const v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); |
const v8::Handle<v8::ObjectTemplate> console = |