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