[ekiga] [windows] Fix crash on quit



commit b8c9352b0aae6f5b081949cc398c645c1c9dc974
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Fri Jan 21 11:10:07 2011 +0100

    [windows] Fix crash on quit
    
    ServiceCore destructor was executed at the end of main(), after
    gm_conf_shutdown was executed.  This destructor holds a reference to
    PersonalDetails, whose destructor uses gm_conf database, which was not
    available anymore on Windows (which uses gmconf-glib.c).

 src/gui/main_window.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 62220cb..c93ef84 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -4800,7 +4800,7 @@ main (int argc,
 
   /* Exit Ekiga */
   GnomeMeeting::Process ()->Exit ();
-
+  service_core.reset ();
   Ekiga::Runtime::quit ();
 
   /* Save and shutdown the configuration */



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