]> git.sesse.net Git - vlc/commitdiff
* src/skin_main.cpp: fixed a bug related to the destruction order ;)
authorCyril Deguet <asmax@videolan.org>
Sun, 29 Feb 2004 14:05:14 +0000 (14:05 +0000)
committerCyril Deguet <asmax@videolan.org>
Sun, 29 Feb 2004 14:05:14 +0000 (14:05 +0000)
modules/gui/skins2/src/skin_main.cpp

index 371805a57881e2e877c87957eb03eca236e9ca08..9626be4503bdc5d83d1d0e659a9963dbc466090c 100644 (file)
@@ -2,7 +2,7 @@
  * skin_main.cpp
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: skin_main.cpp,v 1.7 2004/02/27 15:07:04 gbazin Exp $
+ * $Id: skin_main.cpp,v 1.8 2004/02/29 14:05:14 asmax Exp $
  *
  * Authors: Cyril Deguet     <asmax@via.ecp.fr>
  *          Olivier Teulière <ipkiss@via.ecp.fr>
@@ -134,12 +134,12 @@ static void Close( vlc_object_t *p_this )
 
     // Destroy "singleton" objects
     OSFactory::instance( p_intf )->destroyOSLoop();
-    OSFactory::destroy( p_intf );
     Dialogs::destroy( p_intf );
     Interpreter::destroy( p_intf );
     AsyncQueue::destroy( p_intf );
     VarManager::destroy( p_intf );
     VlcProc::destroy( p_intf );
+    OSFactory::destroy( p_intf );
 
     if( p_intf->p_sys->p_input )
     {