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:
parent
c3918f3f82
commit
915e65135c
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue