Fixed for v8 3.27.34

This commit is contained in:
Richard 2014-08-22 22:23:44 -05:00
commit a6ffb22a2a

View file

@ -119,6 +119,9 @@ V8Shell::~V8Shell() {}
bool V8Shell::RunScript(const std::string& scriptPath) {
std::string source = ReadFile(scriptPath);
v8::Isolate* isolate = v8::Isolate::New();
v8::Isolate::Scope isolate_scope(isolate);
SWIGV8_HANDLESCOPE();
SwigV8Context context = CreateShellContext();