]> git.sesse.net Git - vlc/commitdiff
Fix quit sequence in dbus.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 6 Jan 2009 20:23:12 +0000 (21:23 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 6 Jan 2009 20:23:12 +0000 (21:23 +0100)
modules/control/dbus.c

index 79aaca13fa2054076ac0bc9c3a371e8e216f781b..fe3b771a356b79e88601f56494b73df1dabdf2bc 100644 (file)
@@ -125,9 +125,6 @@ vlc_module_end ()
 DBUS_METHOD( Quit )
 { /* exits vlc */
     REPLY_INIT;
-    playlist_t *p_playlist = pl_Hold( (vlc_object_t*) p_this );
-    playlist_Stop( p_playlist );
-    pl_Release( ((vlc_object_t*) p_this) );
     vlc_object_kill(((vlc_object_t*)p_this)->p_libvlc);
     REPLY_SEND;
 }