diff --git a/Linphone/model/account/AccountModel.cpp b/Linphone/model/account/AccountModel.cpp index 3321257ad..4e736da98 100644 --- a/Linphone/model/account/AccountModel.cpp +++ b/Linphone/model/account/AccountModel.cpp @@ -127,6 +127,7 @@ void AccountModel::removeAccount() { .arg(params && params->getIdentityAddress() ? Utils::coreStringToAppString(params->getIdentityAddress()->asString()) : "Null"); + if (mMonitor) core->removeAccount(mMonitor); } std::shared_ptr AccountModel::getAccount() const {