mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix crash on quit without initial passcode unlock.
This commit is contained in:
@@ -149,8 +149,6 @@ void MainWindow::firstShow() {
|
||||
}
|
||||
|
||||
void MainWindow::clearWidgetsHook() {
|
||||
Expects(_passcodeLock == nullptr || !Global::LocalPasscode());
|
||||
|
||||
destroyLayer();
|
||||
_main.destroy();
|
||||
_passcodeLock.destroy();
|
||||
|
Reference in New Issue
Block a user