0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-03-11 22:18:44 +00:00

Delete V8JSG(timer_thread) on shutdown, refs #138

This commit is contained in:
Stefan Siegl 2015-04-28 00:31:33 +02:00
parent 79f2056bc3
commit 4d17ba2566

View File

@ -130,6 +130,7 @@ static PHP_RSHUTDOWN_FUNCTION(v8js)
V8JSG(timer_stop) = true;
V8JSG(timer_thread)->join();
V8JSG(timer_stop) = false;
delete V8JSG(timer_thread);
V8JSG(timer_thread) = NULL;
}