mirror of
https://github.com/phpv8/v8js.git
synced 2025-03-11 16:48:43 +00:00
Don't call V8::ShutdownPlatform for V8 < 3.29.36
This commit is contained in:
parent
829bac9ddc
commit
35e5fbb1fc
2
v8js.cc
2
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user