Minor fix in v8 shell.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Oliver Buchtala 2012-09-08 01:09:43 +00:00
commit 915e65135c

View file

@ -108,6 +108,8 @@ bool V8Shell::RunScript(const std::string& scriptPath) {
context->Exit();
context.Dispose();
v8::V8::Dispose();
return true;
}
bool V8Shell::RunShell() {
@ -141,6 +143,8 @@ bool V8Shell::RunShell() {
context->Exit();
context.Dispose();
v8::V8::Dispose();
return true;
}