0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 15:11:53 +00:00

Don't manually call destructors on v8js_globals.

v8js_globals is declared at the beginning of v8js.cc and hence
it's constructors and destructors are run automatically.
This commit is contained in:
Stefan Siegl 2013-10-26 23:46:03 +02:00
parent 1906a8e6b6
commit 16934c2254

View File

@ -1729,9 +1729,11 @@ static PHP_GSHUTDOWN_FUNCTION(v8js)
v8js_globals->v8_flags = NULL;
}
#if 0
v8js_globals->timer_stack.~stack();
v8js_globals->timer_mutex.~mutex();
v8js_globals->modules_loaded.~map();
#endif
}
/* }}} */