Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
8bf6ad03
Commit
8bf6ad03
authored
Nov 02, 2007
by
Pierre-Luc Beaudoin
Browse files
Fix crash when deleting accounts
parent
63f3b941
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/managerimpl.cpp
View file @
8bf6ad03
...
...
@@ -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
...
...
src/sipvoiplink.cpp
View file @
8bf6ad03
...
...
@@ -69,8 +69,8 @@ SIPVoIPLink::SIPVoIPLink(const AccountID& accountID)
SIPVoIPLink
::~
SIPVoIPLink
()
{
delete
_evThread
;
_evThread
=
0
;
terminate
();
delete
_evThread
;
_evThread
=
0
;
}
bool
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment