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
522e0499
Commit
522e0499
authored
Apr 02, 2010
by
Alexandre Savard
Browse files
[#3116] Delete sip voip link in decrementClients
parent
9f02da32
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/sip/sipvoiplink.cpp
View file @
522e0499
...
...
@@ -289,8 +289,8 @@ void SIPVoIPLink::decrementClients (void)
if
(
_clients
==
0
)
{
_debug
(
"UserAgent: No SIP account anymore, terminate SIPVoIPLink"
);
terminate
();
SIPVoIPLink
::
_instance
=
NULL
;
//
terminate();
delete
SIPVoIPLink
::
_instance
;
}
}
...
...
@@ -321,8 +321,7 @@ SIPVoIPLink::terminate()
if
(
_evThread
)
{
_debug
(
"UserAgent: Deleting sip eventThread"
);
delete
_evThread
;
_evThread
=
NULL
;
delete
_evThread
;
_evThread
=
NULL
;
}
...
...
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