mirror of
https://github.com/phpv8/v8js.git
synced 2025-03-23 22:27:03 +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)
|
static void php_v8js_timer_thread(TSRMLS_D)
|
||||||
{
|
{
|
||||||
while (!V8JSG(timer_stop)) {
|
while (!V8JSG(timer_stop)) {
|
||||||
v8::Locker locker;
|
|
||||||
|
|
||||||
std::chrono::time_point<std::chrono::high_resolution_clock> now = std::chrono::high_resolution_clock::now();
|
std::chrono::time_point<std::chrono::high_resolution_clock> now = std::chrono::high_resolution_clock::now();
|
||||||
v8::HeapStatistics hs;
|
v8::HeapStatistics hs;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user