瀏覽代碼

Remove Locker from timer thread

Stefan Siegl 11 年之前
父節點
當前提交
12e5e01920
共有 1 個文件被更改,包括 0 次插入2 次删除
  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)
 {
 	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;