Add missing return statement in v8 code template.
This commit is contained in:
parent
5da4f5794c
commit
31feff8586
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ v8::Handle<v8::Value> $jswrapper(const v8::Arguments& args) {
|
|||
SWIG_exception_fail(SWIG_ERROR, "Illegal arguments for contruction of $jsmangledname");
|
||||
|
||||
fail:
|
||||
scope.Close(v8::Undefined());
|
||||
return scope.Close(v8::Undefined());
|
||||
}
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue