Stop playlist on quit, to fix some quitting crashes.
[vlc.git] / 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();