mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-13 23:04:13 +00:00
mod_v8: Minor tweaks to keep up with recent V8 API changes
This commit is contained in:
1 parent
bd72cd9cc1
commit
c679d98eb7
7 files changed
+21
-21
No files matched your search
@@ -565,7 +565,7 @@ static int v8_parse_and_execute(switch_core_session_t *session, const char *inpu
|
||||
TryCatch try_catch;
|
||||
|
||||
// Compile the source code.
|
||||
Handle<Script> v8_script = Script::Compile(source, Handle<Value>::New(isolate, String::NewFromUtf8(isolate, script_file)));
|
||||
Handle<Script> v8_script = Script::Compile(source, Local<Value>::New(isolate, String::NewFromUtf8(isolate, script_file)));
|
||||
|
||||
if (try_catch.HasCaught()) {
|
||||
v8_error(isolate, &try_catch);
|
||||
|
||||
Reference in new issue
Block a user