This commit is contained in:
as2252258@163.com
2021-02-27 04:36:36 +08:00
parent bc430e89e5
commit 2482b4ccb7
+2 -1
View File
@@ -113,10 +113,11 @@ class OnTask extends Callback
$finish['info'] = $this->format($exception);
$this->error($exception, 'Task');
}
$app->decrement();
$event = Snowflake::app()->getEvent();
$event->trigger(Event::SYSTEM_RESOURCE_CLEAN);
$app->decrement();
Timer::clearAll();
return $finish;