ekiga r6483 - in trunk: . src/endpoints



Author: dsandras
Date: Wed Jul 23 08:19:33 2008
New Revision: 6483
URL: http://svn.gnome.org/viewvc/ekiga?rev=6483&view=rev

Log:
Removed now redundant method. Robert fixed the shutdown in OPAL.


Modified:
   trunk/ChangeLog
   trunk/src/endpoints/sip.cpp
   trunk/src/endpoints/sip.h

Modified: trunk/src/endpoints/sip.cpp
==============================================================================
--- trunk/src/endpoints/sip.cpp	(original)
+++ trunk/src/endpoints/sip.cpp	Wed Jul 23 08:19:33 2008
@@ -485,22 +485,6 @@
 }
 
 
-void CallProtocolManager::ShutDown ()
-{
-  listeners.RemoveAll ();
-
-  for (PSafePtr<SIPTransaction> transaction(transactions, PSafeReference);      transaction != NULL; ++transaction)
-    transaction->WaitForCompletion();
-
-  while (activeSIPHandlers.GetSize() > 0) {
-    PSafePtr<SIPHandler> handler = activeSIPHandlers;
-    activeSIPHandlers.Remove(handler);
-  }
-
-  SIPEndPoint::ShutDown ();
-}
-
-
 void CallProtocolManager::Register (const Ekiga::Account & account)
 {
   std::stringstream aor;

Modified: trunk/src/endpoints/sip.h
==============================================================================
--- trunk/src/endpoints/sip.h	(original)
+++ trunk/src/endpoints/sip.h	Wed Jul 23 08:19:33 2008
@@ -134,8 +134,6 @@
 
 
       /* OPAL Methods */
-      void ShutDown ();
-
       void Register (const Ekiga::Account & account);
 
       void OnRegistered (const PString & aor,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]