0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 11:21:51 +00:00

Don't call V8::ShutdownPlatform for V8 < 3.29.36

This commit is contained in:
Stefan Siegl 2015-08-08 12:12:18 +02:00
parent 829bac9ddc
commit 35e5fbb1fc

View File

@ -203,8 +203,8 @@ static PHP_GSHUTDOWN_FUNCTION(v8js)
if (v8js_globals->v8_initialized) { if (v8js_globals->v8_initialized) {
v8::V8::Dispose(); v8::V8::Dispose();
v8::V8::ShutdownPlatform();
#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036 #if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036
v8::V8::ShutdownPlatform();
delete v8js_globals->v8_platform; delete v8js_globals->v8_platform;
#endif #endif
} }