Fix crash on quit without initial passcode unlock.

This commit is contained in:
John Preston 2019-08-30 23:30:12 +03:00
parent 5fc4dcd172
commit 17fba16c23

View file

@ -149,8 +149,6 @@ void MainWindow::firstShow() {
}
void MainWindow::clearWidgetsHook() {
Expects(_passcodeLock == nullptr || !Global::LocalPasscode());
destroyLayer();
_main.destroy();
_passcodeLock.destroy();