Commit 8bf6ad03 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin
Browse files

Fix crash when deleting accounts

parent 63f3b941
......@@ -1758,6 +1758,10 @@ ManagerImpl::addAccount(const std::map< ::DBus::String, ::DBus::String >& detail
_accountMap[newAccountID] = newAccount;
setAccountDetails(accountID.str(), details);
saveConfig();
if (_dbus) _dbus->getConfigurationManager()->accountsChanged();
}
void
......@@ -1775,6 +1779,8 @@ ManagerImpl::removeAccount(const AccountID& accountID)
_config.removeSection(accountID);
saveConfig();
if (_dbus) _dbus->getConfigurationManager()->accountsChanged();
}
//THREAD=Main
......
......@@ -69,8 +69,8 @@ SIPVoIPLink::SIPVoIPLink(const AccountID& accountID)
SIPVoIPLink::~SIPVoIPLink()
{
delete _evThread; _evThread = 0;
terminate();
delete _evThread; _evThread = 0;
}
bool
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment