mirror of
https://github.com/phpv8/v8js.git
synced 2025-04-21 20:34:37 +00:00
Delete V8JSG(timer_thread) on shutdown, refs #138
This commit is contained in:
parent
79f2056bc3
commit
4d17ba2566
1
v8js.cc
1
v8js.cc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user