Making sure Verification Objects are deleted properly

This commit is contained in:
Chethan2k1 2020-09-10 13:25:49 +05:30
parent e70b4e4268
commit a27662dc08
3 changed files with 19 additions and 14 deletions

View file

@ -41,6 +41,10 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
this->deleteLater();
});
connect(this,&DeviceVerificationFlow::deleteFlow,this,[this](){
this->deleteLater();
});
connect(
ChatPage::instance(),
&ChatPage::recievedDeviceVerificationStart,