From a0171cb144254abdad6720fc385bdd15b3a10fac Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 22 Jun 2019 11:52:18 +0200 Subject: [PATCH] Fix crash in MainWindow destruction. --- Telegram/SourceFiles/window/window_controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/window/window_controller.h b/Telegram/SourceFiles/window/window_controller.h index 99b6888c0b..e4c48b76d6 100644 --- a/Telegram/SourceFiles/window/window_controller.h +++ b/Telegram/SourceFiles/window/window_controller.h @@ -69,8 +69,8 @@ private: anim::type animated); not_null _account; - ::MainWindow _widget; std::unique_ptr _sessionController; + ::MainWindow _widget; rpl::lifetime _lifetime;