[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:10:59 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep  7 16:08:03 2008 -0700| [1d4f7191cba5220542564c2c4abc5b663a4d3252] | committer: Jean-Baptiste Kempf 

Stop playlist on quit, to fix some quitting crashes.

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

 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