mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Version 4.8.3: Fix statup crash with passcode.
This commit is contained in:
parent
1e9087db4a
commit
bcf91e2f2c
1 changed files with 3 additions and 1 deletions
|
@ -1161,7 +1161,9 @@ void Application::lockByPasscode() {
|
|||
enumerateWindows([&](not_null<Window::Controller*> w) {
|
||||
w->setupPasscodeLock();
|
||||
});
|
||||
_mediaView->close();
|
||||
if (_mediaView) {
|
||||
_mediaView->close();
|
||||
}
|
||||
}
|
||||
|
||||
void Application::maybeLockByPasscode() {
|
||||
|
|
Loading…
Add table
Reference in a new issue