1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 04:54:45 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2024-02-15 18:32:14 +01:00
parent 1071028028
commit 37a66c3eb2

View File

@ -366,7 +366,7 @@ trait UpdateHandler
return [];
} finally {
$this->usingGetUpdates = false;
if ($id !== null) {
if ($id !== null && !$timeout->isRequested()) {
EventLoop::cancel($id);
}
}