1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 03:14:39 +01:00
This commit is contained in:
Daniil Gentili 2023-12-13 21:33:19 +01:00
parent eab05a6d28
commit 8ecca2146d

View File

@ -81,7 +81,7 @@ final class UpdateLoop extends Loop
if ($this->done !== null) {
throw new AssertionError("Already waiting in $this!");
}
if ($this->isRunning()) {
if (!$this->isRunning()) {
throw new AssertionError("$this is not running!");
}
$this->done = new DeferredFuture;