[ekiga/ds-opal-refactoring] Opal: Simplified exit workaround. Fixes another crash.



commit c224b5ac3d6bb7e9150ccf673dafd38caced41b3
Author: Damien Sandras <dsandras seconix com>
Date:   Mon Mar 23 19:44:39 2015 +0100

    Opal: Simplified exit workaround. Fixes another crash.

 .../components/opal/process/opal-process.cpp       |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/components/opal/process/opal-process.cpp 
b/lib/engine/components/opal/process/opal-process.cpp
index d4c0b9a..c1696ea 100644
--- a/lib/engine/components/opal/process/opal-process.cpp
+++ b/lib/engine/components/opal/process/opal-process.cpp
@@ -55,7 +55,6 @@ GnomeMeeting::GnomeMeeting () : PProcess("", "", MAJOR_VERSION, MINOR_VERSION, B
 
 GnomeMeeting::~GnomeMeeting ()
 {
-  delete endpoint;
 }
 
 
@@ -88,8 +87,8 @@ void GnomeMeeting::Exit ()
   //
   // That is why we clean things up preventively.
 
-  // Shutdown all endpoints
-  endpoint->ShutDownEndpoints ();
+  // Destroy the manager & shutdown all endpoints
+  delete endpoint;
 
   // Clean up factories
   PProcessStartupFactory::KeyList_T list = PProcessStartupFactory::GetKeyList();


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