Version 4.8.3: Fix statup crash with passcode.
This commit is contained in:
parent
1e9087db4a
commit
bcf91e2f2c
|
@ -1161,7 +1161,9 @@ void Application::lockByPasscode() {
|
||||||
enumerateWindows([&](not_null<Window::Controller*> w) {
|
enumerateWindows([&](not_null<Window::Controller*> w) {
|
||||||
w->setupPasscodeLock();
|
w->setupPasscodeLock();
|
||||||
});
|
});
|
||||||
|
if (_mediaView) {
|
||||||
_mediaView->close();
|
_mediaView->close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::maybeLockByPasscode() {
|
void Application::maybeLockByPasscode() {
|
||||||
|
|
Loading…
Reference in New Issue