Stop playlist on quit, to fix some quitting crashes.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 7 Sep 2008 23:08:03 +0000 (16:08 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 7 Sep 2008 23:26:41 +0000 (16:26 -0700)
(cherry picked from commit 1d4f7191cba5220542564c2c4abc5b663a4d3252)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/dialogs_provider.cpp

index fe37d85..1443b4e 100644 (file)
@@ -93,6 +93,8 @@ DialogsProvider::~DialogsProvider()
 
 void DialogsProvider::quit()
 {
 
 void DialogsProvider::quit()
 {
+    /* Stop the playlist */
+    playlist_Stop( THEPL );
     b_isDying = true;
     vlc_object_kill( p_intf->p_libvlc );
     QApplication::closeAllWindows();
     b_isDying = true;
     vlc_object_kill( p_intf->p_libvlc );
     QApplication::closeAllWindows();