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

Remove Locker from timer thread

This commit is contained in:
Stefan Siegl 2013-10-03 16:57:18 +02:00
parent 386465570d
commit 12e5e01920

View File

@ -737,8 +737,6 @@ static void php_v8js_terminate_execution(php_v8js_ctx *c TSRMLS_DC)
static void php_v8js_timer_thread(TSRMLS_D)
{
while (!V8JSG(timer_stop)) {
v8::Locker locker;
std::chrono::time_point<std::chrono::high_resolution_clock> now = std::chrono::high_resolution_clock::now();
v8::HeapStatistics hs;