mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 01:10:09 +00:00
Fix race condition
This commit is contained in:
parent
df60780a26
commit
88994eac67
@ -537,7 +537,9 @@ private final class CallSessionManagerContext {
|
|||||||
guard let strongSelf = self else {
|
guard let strongSelf = self else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
strongSelf.drop(internalId: internalId, reason: .disconnect, debugLog: .single(nil))
|
strongSelf.contexts.removeValue(forKey: internalId)
|
||||||
|
strongSelf.contextIdByStableId.removeValue(forKey: stableId)
|
||||||
|
strongSelf.ringingStatesUpdated()
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
self.contextIdByStableId[stableId] = internalId
|
self.contextIdByStableId[stableId] = internalId
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user