1
This commit is contained in:
@@ -127,6 +127,9 @@ class Context extends BaseContext
|
|||||||
*/
|
*/
|
||||||
public static function remove(string $id, $coroutineId = null)
|
public static function remove(string $id, $coroutineId = null)
|
||||||
{
|
{
|
||||||
|
if (is_null($coroutineId)) {
|
||||||
|
$coroutineId = Coroutine::getCid();
|
||||||
|
}
|
||||||
if (!static::hasContext($id, $coroutineId)) {
|
if (!static::hasContext($id, $coroutineId)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user