Explorar el Código

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

Stefan Siegl hace 9 años
padre
commit
35e5fbb1fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      v8js.cc

+ 1 - 1
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
 	}