This commit is contained in:
2021-08-18 11:56:19 +08:00
parent f375eec0a0
commit 99e2f36794
9 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class Async extends Component
*/
public function dispatch(string $name, array $params = [])
{
$context = ServerManager::getContext();
$context = di(ServerManager::class);
$context->task(static::$_absences[$name], $params);
}