mirror of
https://github.com/phpv8/v8js.git
synced 2025-04-21 19:24:36 +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:
parent
1906a8e6b6
commit
16934c2254
2
v8js.cc
2
v8js.cc
@ -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
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user