Sfoglia il codice sorgente

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 12 anni fa
parent
commit
147b743d4c
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  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));