Fix coroutine HTTP startup

This commit is contained in:
Chirag Aggarwal
2026-04-06 12:04:23 +05:30
parent bf77d52695
commit 5a81560605
+3 -1
View File
@@ -553,4 +553,6 @@ $swooleAdapter->onRequest(function ($utopiaRequest, $utopiaResponse) use ($files
}
});
$swooleAdapter->start();
\Swoole\Coroutine\run(static function () use ($swooleAdapter): void {
$swooleAdapter->start();
});