From 87fbad4a8e63de3daa132e70911b9e493dfc6fe5 Mon Sep 17 00:00:00 2001 From: VennV <111500380+VennDev@users.noreply.github.com> Date: Mon, 26 Aug 2024 00:58:29 +0700 Subject: [PATCH] Update System.php --- src/vennv/vapm/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vennv/vapm/System.php b/src/vennv/vapm/System.php index b6560497..a523617f 100644 --- a/src/vennv/vapm/System.php +++ b/src/vennv/vapm/System.php @@ -155,7 +155,7 @@ public static function init(): void if (!self::$hasInit) { self::$hasInit = true; register_shutdown_function(fn() => self::runSingleEventLoop()); - register_tick_function(fn() => self::runEventLoop()); + register_tick_function(fn() => CoroutineGen::run()); } parent::init();