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:
parent
386465570d
commit
12e5e01920
2
v8js.cc
2
v8js.cc
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user