mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 00:51:51 +00:00
Properly stop timer thread, closes #138
We need to reset V8JSG(timer_stop) and V8JSG(timer_thread), otherwise subsequent requests fail on multi-request SAPIs. If we don't reset those, a subsequent request will not start a new timer thread (as V8JSG(timer_thread) != NULL), but will try to join the thread (once more) in GSHUTDOWN as V8JSG(timer_thread) still is non-NULL and hence cause program termination.
This commit is contained in:
parent
b350871795
commit
79f2056bc3
Loading…
Reference in New Issue
Block a user