Skip to content

Commit 35e5fbb

Browse files
committed
Don't call V8::ShutdownPlatform for V8 < 3.29.36
1 parent 829bac9 commit 35e5fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v8js.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ static PHP_GSHUTDOWN_FUNCTION(v8js)
203203

204204
if (v8js_globals->v8_initialized) {
205205
v8::V8::Dispose();
206-
v8::V8::ShutdownPlatform();
207206
#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036
207+
v8::V8::ShutdownPlatform();
208208
delete v8js_globals->v8_platform;
209209
#endif
210210
}

0 commit comments

Comments
 (0)