[vlc-devel] commit: Stop playlist on quit, to fix some quitting crashes. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Sep 8 01:24:24 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep  7 16:08:03 2008 -0700| [88de6a9f38f968c4736739fb2689d7483f3b9e6e] | committer: Jean-Baptiste Kempf 

Stop playlist on quit, to fix some quitting crashes.
(cherry picked from commit 1d4f7191cba5220542564c2c4abc5b663a4d3252)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=88de6a9f38f968c4736739fb2689d7483f3b9e6e
---

 modules/gui/qt4/dialogs_provider.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index fe37d85..1443b4e 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -93,6 +93,8 @@ DialogsProvider::~DialogsProvider()
 
 void DialogsProvider::quit()
 {
+    /* Stop the playlist */
+    playlist_Stop( THEPL );
     b_isDying = true;
     vlc_object_kill( p_intf->p_libvlc );
     QApplication::closeAllWindows();




More information about the vlc-devel mailing list