mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 23:11:19 +01:00
Avoid race condition during initialization
This commit is contained in:
parent
7455f29b60
commit
7a290a4f39
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit fb60db620b52ed14588fb0cc6942727b2ff06588
|
||||
Subproject commit 480552c070099271e1df125732296ad11a58b6b0
|
@ -1 +1 @@
|
||||
Subproject commit 613d1949feefd1c8018995901fad6a9916eb8703
|
||||
Subproject commit ccb9fda5e133d585adb03ba2a87b742988e29fc9
|
@ -320,6 +320,7 @@ final class VoIPController
|
||||
if ($this->callState === CallState::ENDED) {
|
||||
return $this;
|
||||
}
|
||||
$this->API->waitForInit();
|
||||
$this->API->cleanupCall($this->public->callID);
|
||||
$this->callState = CallState::ENDED;
|
||||
$this->diskJockey->discard();
|
||||
|
Loading…
x
Reference in New Issue
Block a user