变更
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ class Context
|
|||||||
*/
|
*/
|
||||||
public static function inCoroutine(): bool
|
public static function inCoroutine(): bool
|
||||||
{
|
{
|
||||||
return class_exists(Coroutine::class) && Coroutine::getCid() > -1;
|
return Coroutine::getCid() > -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user