mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-03 12:21:51 +00:00
Merge pull request #68 from stesie/fix-double-free
Don't manually call destructors on v8js_globals.
This commit is contained in:
commit
5c1c68b045
2
v8js.cc
2
v8js.cc
@ -1729,9 +1729,11 @@ static PHP_GSHUTDOWN_FUNCTION(v8js)
|
|||||||
v8js_globals->v8_flags = NULL;
|
v8js_globals->v8_flags = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
v8js_globals->timer_stack.~stack();
|
v8js_globals->timer_stack.~stack();
|
||||||
v8js_globals->timer_mutex.~mutex();
|
v8js_globals->timer_mutex.~mutex();
|
||||||
v8js_globals->modules_loaded.~map();
|
v8js_globals->modules_loaded.~map();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user