This commit is contained in:
2023-04-24 21:47:52 +08:00
parent e3837281fa
commit 5e474fd9f4
+1 -1
View File
@@ -39,7 +39,7 @@ class Context
*/
public static function inCoroutine(): bool
{
return class_exists(Coroutine::class) && Coroutine::getCid() > -1;
return Coroutine::getCid() > -1;
}
}