diff --git a/Telegram/SourceFiles/mainwidget.cpp b/Telegram/SourceFiles/mainwidget.cpp index 8853f7b29..423acba13 100644 --- a/Telegram/SourceFiles/mainwidget.cpp +++ b/Telegram/SourceFiles/mainwidget.cpp @@ -809,6 +809,7 @@ void MainWidget::hiderLayer(base::unique_qptr hider) { _hider->hidden( ) | rpl::start_with_next([=, instance = _hider.get()] { clearHider(instance); + instance->hide(); instance->deleteLater(); }, _hider->lifetime());