]> git.sesse.net Git - vlc/blobdiff - src/playlist/engine.c
pl_Yield(): return NULL when the playlist is gone (or going)
[vlc] / src / playlist / engine.c
index ed909a837b4a4061636ef1a361473158ea647900..f6385d01e3a83f63e0d750f3f1ef4270aa39b50a 100644 (file)
@@ -173,9 +173,6 @@ static void playlist_Destructor( vlc_object_t * p_this )
 
     if( p_playlist->p_fetcher )
         vlc_object_release( p_playlist->p_fetcher );
-#ifndef NDEBUG
-    libvlc_priv (p_this->p_libvlc)->p_playlist = NULL; /* pl_Yield() will fail */
-#endif
 }
 
 /* Destroy remaining objects */