소스 검색

Fix timer

walkor 2 년 전
부모
커밋
0b02a55864
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Events/Select.php

+ 1 - 1
src/Events/Select.php

@@ -285,7 +285,7 @@ class Select implements EventInterface
                     unset($this->eventTimer[$timerId]);
                 }
                 try {
-                    $taskData[0]($taskData[1]);
+                    $taskData[0](...$taskData[1]);
                 } catch (Throwable $e) {
                     Worker::stopAll(250, $e);
                 }