Selaa lähdekoodia

Initialize V8JSG(old_error_handler) on ZTS, refs #94

Stefan Siegl 11 vuotta sitten
vanhempi
commit
847ac7677c
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      v8js.cc

+ 1 - 0
v8js.cc

@@ -1879,6 +1879,7 @@ static PHP_GINIT_FUNCTION(v8js)
 	v8js_globals->error_num = 0;
 	v8js_globals->error_message = 0;
 	v8js_globals->unwind_env = NULL;
+	v8js_globals->old_error_handler = NULL;
 #endif
 }
 /* }}} */