mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 03:14:39 +01:00
Fix
This commit is contained in:
parent
eab05a6d28
commit
8ecca2146d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user