From 35e5fbb1fc7b025d350c3de54ba9f3428188379c Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Sat, 8 Aug 2015 12:12:18 +0200 Subject: [PATCH] Don't call V8::ShutdownPlatform for V8 < 3.29.36 --- v8js.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v8js.cc b/v8js.cc index 4ed5bcd..6236ed0 100755 --- a/v8js.cc +++ b/v8js.cc @@ -203,8 +203,8 @@ static PHP_GSHUTDOWN_FUNCTION(v8js) if (v8js_globals->v8_initialized) { v8::V8::Dispose(); - v8::V8::ShutdownPlatform(); #if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036 + v8::V8::ShutdownPlatform(); delete v8js_globals->v8_platform; #endif }