]> git.sesse.net Git - vlc/commitdiff
playlist: Print a destroyed message when the playlist, fetcher and preparser are...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 6 Jul 2008 17:01:48 +0000 (19:01 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 6 Jul 2008 17:01:48 +0000 (19:01 +0200)
src/playlist/engine.c
src/playlist/thread.c

index 3631c1fb58d7b38133253aeb30e7c30c1f4ec92c..152b48b18c7042a0dce1f2763278db880ea59932 100644 (file)
@@ -173,6 +173,8 @@ static void playlist_Destructor( vlc_object_t * p_this )
 
     if( p_playlist->p_fetcher )
         vlc_object_release( p_playlist->p_fetcher );
+
+    msg_Dbg( p_this, "Destroyed" );
 }
 
 /* Destroy remaining objects */
index ae207309ddd0cb91f9ea4b15f9ac779047869d7f..2e1b70d3bd9009fd16843b4a35cb834b4075f8f8 100644 (file)
@@ -187,10 +187,12 @@ static void PreparseDestructor( vlc_object_t * p_this )
 {
     playlist_preparse_t * p_preparse = (playlist_preparse_t *)p_this;
     free( p_preparse->pp_waiting );
+    msg_Dbg( p_this, "Destroyed" );
 }
 
 static void FetcherDestructor( vlc_object_t * p_this )
 {
     playlist_fetcher_t * p_fetcher = (playlist_fetcher_t *)p_this;
     free( p_fetcher->pp_waiting );
+    msg_Dbg( p_this, "Destroyed" );
 }