From 915e65135cdf90a484bd1078eb3cfe15f192e50e Mon Sep 17 00:00:00 2001 From: Oliver Buchtala Date: Sat, 8 Sep 2012 01:09:43 +0000 Subject: [PATCH] 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 --- Tools/javascript/v8_shell.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/javascript/v8_shell.cxx b/Tools/javascript/v8_shell.cxx index 62620a72a..6c84fe758 100755 --- a/Tools/javascript/v8_shell.cxx +++ b/Tools/javascript/v8_shell.cxx @@ -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; }