diff --git a/Telegram/SourceFiles/boxes/connection_box.cpp b/Telegram/SourceFiles/boxes/connection_box.cpp index 07a86f5f0e..81549d53ce 100644 --- a/Telegram/SourceFiles/boxes/connection_box.cpp +++ b/Telegram/SourceFiles/boxes/connection_box.cpp @@ -470,7 +470,7 @@ void ProxiesBox::createNoRowsLabel() { ) | rpl::start_with_next([=](int width) { label->resizeToWidth(width); label->moveToLeft(0, 0); - }); + }, label->lifetime()); } void ProxiesBox::setupButtons(int id, not_null button) {