This commit is contained in:
as2252258@163.com
2021-05-02 05:11:49 +08:00
parent ead674613a
commit c32ae6ffd9
+1 -1
View File
@@ -238,7 +238,7 @@ class Context extends BaseContext
*/
public static function inCoroutine(): bool
{
return Coroutine::getCid() === -1;
return Coroutine::getCid() !== -1;
}
}