Переглянути джерело

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 роки тому
батько
коміт
147b743d4c
1 змінених файлів з 0 додано та 2 видалено
  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));