From 17fba16c239479a263fe921f011abf62327bb576 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 30 Aug 2019 23:30:12 +0300 Subject: [PATCH] Fix crash on quit without initial passcode unlock. --- Telegram/SourceFiles/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp index 04c98fcff..e28477276 100644 --- a/Telegram/SourceFiles/mainwindow.cpp +++ b/Telegram/SourceFiles/mainwindow.cpp @@ -149,8 +149,6 @@ void MainWindow::firstShow() { } void MainWindow::clearWidgetsHook() { - Expects(_passcodeLock == nullptr || !Global::LocalPasscode()); - destroyLayer(); _main.destroy(); _passcodeLock.destroy();