This commit is contained in:
2021-02-20 13:02:58 +08:00
parent 874085f97a
commit d05cb47f66
18 changed files with 56 additions and 49 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class OnTask extends Callback
$finish['info'] = $this->format($exception);
$this->error($exception, 'Task');
} finally {
$event = Snowflake::app()->event;
$event = Snowflake::app()->getEvent();
$event->trigger(Event::RELEASE_ALL);
Timer::clearAll();
}