From a27662dc0844cf9104967717076123ac73a667c5 Mon Sep 17 00:00:00 2001 From: Chethan2k1 <40890937+Chethan2k1@users.noreply.github.com> Date: Thu, 10 Sep 2020 13:25:49 +0530 Subject: Making sure Verification Objects are deleted properly --- src/DeviceVerificationFlow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/DeviceVerificationFlow.cpp') diff --git a/src/DeviceVerificationFlow.cpp b/src/DeviceVerificationFlow.cpp index ae054af7..70cc0baf 100644 --- a/src/DeviceVerificationFlow.cpp +++ b/src/DeviceVerificationFlow.cpp @@ -41,6 +41,10 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *, this->deleteLater(); }); + connect(this,&DeviceVerificationFlow::deleteFlow,this,[this](){ + this->deleteLater(); + }); + connect( ChatPage::instance(), &ChatPage::recievedDeviceVerificationStart, -- cgit 1.5.1