Commit a1440bea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unsafe use of b_dead.

Fortunately, var_DelCallback does the job properly already.
parent 14f81bb4
......@@ -227,7 +227,6 @@ static void Close( vlc_object_t *p_this )
pl_Release( p_intf );
}
p_intf->b_dead = true;
int i;
for( i = 0; i < p_sys->i_songs; i++ )
DeleteSong( &p_sys->p_queue[i] );
......@@ -470,9 +469,6 @@ static int PlayingChange( vlc_object_t *p_this, const char *psz_var,
VLC_UNUSED( p_this ); VLC_UNUSED( psz_var );
if( p_intf->b_dead )
return VLC_SUCCESS;
if( p_sys->b_meta_read == false && newval.i_int >= PLAYING_S )
{
ReadMetaData( p_intf );
......@@ -505,9 +501,6 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
VLC_UNUSED( p_this ); VLC_UNUSED( psz_var );
VLC_UNUSED( oldval ); VLC_UNUSED( newval );
if( p_intf->b_dead )
return VLC_SUCCESS;
p_sys->b_state_cb = false;
p_sys->b_meta_read = false;
p_sys->b_submit = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment