mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
Small fix
This commit is contained in:
parent
1071028028
commit
37a66c3eb2
@ -366,7 +366,7 @@ trait UpdateHandler
|
|||||||
return [];
|
return [];
|
||||||
} finally {
|
} finally {
|
||||||
$this->usingGetUpdates = false;
|
$this->usingGetUpdates = false;
|
||||||
if ($id !== null) {
|
if ($id !== null && !$timeout->isRequested()) {
|
||||||
EventLoop::cancel($id);
|
EventLoop::cancel($id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user