Parcourir la source

Removed v8::V8::Dispose call because it was causing SIGTRAPs in some exit scenarios. This is probably due to using the debug version of V8, but the documentation states that it's not necessary to call this anyway.

Simon Best il y a 12 ans
Parent
commit
147b743d4c
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      v8js.cc

+ 0 - 2
v8js.cc

@@ -1388,8 +1388,6 @@ static PHP_MSHUTDOWN_FUNCTION(v8js)
 {
 	UNREGISTER_INI_ENTRIES();
 
-	v8::V8::Dispose();
-
 	if (V8JSG(extensions)) {
 		zend_hash_destroy(V8JSG(extensions));
 		free(V8JSG(extensions));