Browse Source

Remove Locker from timer thread

Stefan Siegl 11 years ago
parent
commit
12e5e01920
1 changed files with 0 additions and 2 deletions
  1. 0 2
      v8js.cc

+ 0 - 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;