]> git.sesse.net Git - vlc/commitdiff
Don't assert for NULL instance in killInstance
authorHugo Beauzee-Luyssen <beauze.h@gmail.com>
Tue, 16 Feb 2010 01:09:21 +0000 (02:09 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 16 Feb 2010 13:22:27 +0000 (14:22 +0100)
Singleton pattern is about not carring about this.
Fixing failing assert when quitting VLC after the view menu has been
clicked

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/dialogs/extensions.hpp

index d71a5a00245afeed266e6948cb2511032c137cb6..dafb12e10e81758ffbc113e0f110ee5f8f580cfe 100644 (file)
@@ -75,7 +75,6 @@ public:
     }
     static void killInstance()
     {
-        assert( instance != NULL );
         delete instance;
         instance = NULL;
     }