From 8656ab330ca40f10d9490ecadbd5d9b47f7bf7cc Mon Sep 17 00:00:00 2001
From: Mingrui Zhang <mingrui.zhang@savoirfairelinux.com>
Date: Fri, 26 Jul 2019 15:42:35 -0400
Subject: [PATCH] account: will not call doUnregister() to avoid blocking

- freeAccount will be called only when sip tls is enabled
  doUnregister() will block this process

Change-Id: I0503c4eab0868591418a8717fa50065d4e948ecc
---
 src/account.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/account.cpp b/src/account.cpp
index 3fb100001f..4bb0bbdd5f 100644
--- a/src/account.cpp
+++ b/src/account.cpp
@@ -138,7 +138,6 @@ Account::freeAccount()
 {
     for (const auto& id : callIDSet_)
         Manager::instance().hangupCall(id);
-    doUnregister();
 }
 
 void
-- 
GitLab