mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix possible crash in auth session destruction.
This commit is contained in:
@@ -248,6 +248,10 @@ ApiWrap::ApiWrap(not_null<AuthSession*> session)
|
||||
});
|
||||
}
|
||||
|
||||
AuthSession &ApiWrap::session() const {
|
||||
return *_session;
|
||||
}
|
||||
|
||||
void ApiWrap::setupSupportMode() {
|
||||
if (!_session->supportMode()) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user