mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-25 04:34:15 +00:00
Revert "FS-11048: [build] support v8 6.6 fixes from Andrey Volk"
This reverts commit 27389f2937.
This commit is contained in:
1 parent
54c2bbeda8
commit
b8b4517843
4 files changed
+20
-13
No files matched your search
@@ -645,7 +645,7 @@ static int v8_parse_and_execute(switch_core_session_t *session, const char *inpu
|
||||
isolate->SetData(0, js);
|
||||
|
||||
// New global template
|
||||
Handle<ObjectTemplate> global = ObjectTemplate::New(isolate);
|
||||
Handle<ObjectTemplate> global = ObjectTemplate::New();
|
||||
|
||||
if (global.IsEmpty()) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Failed to create JS global object template\n");
|
||||
@@ -793,7 +793,7 @@ static int v8_parse_and_execute(switch_core_session_t *session, const char *inpu
|
||||
free(path);
|
||||
}
|
||||
|
||||
TryCatch try_catch(isolate);
|
||||
TryCatch try_catch;
|
||||
|
||||
// Compile the source code.
|
||||
#if defined(V8_MAJOR_VERSION) && V8_MAJOR_VERSION >=5
|
||||
|
||||
Reference in new issue
Block a user