From 442e8d6fcf9ecea8686aee8d710c5682e9985217 Mon Sep 17 00:00:00 2001
From: Pierre-Luc Beaudoin <pierre-luc.beaudoin@savoirfairelinux.com>
Date: Thu, 8 Nov 2007 11:24:05 -0500
Subject: [PATCH] Fix crash when deleting account with at least one registered
 account

---
 src/sipvoiplink.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/sipvoiplink.cpp b/src/sipvoiplink.cpp
index 9d1a0f5cf7..f941aedb59 100644
--- a/src/sipvoiplink.cpp
+++ b/src/sipvoiplink.cpp
@@ -156,7 +156,11 @@ SIPVoIPLink::terminate()
 {
   terminateSIPCall(); 
   if (_initDone) {
-    eXosip_quit();
+    // TODO The next line makes the daemon crash on 
+    // account delete if at least one account is registered.
+    // It should called only when the last account 
+    // is deleted/unregistered.
+    //eXosip_quit();
     _initDone = false;
   }
 }
-- 
GitLab