vlc_mutex_lock( &p_interaction->object_lock );
p_dialog = intf_InteractionGetById( p_this, i_id );
- if( !p_dialog || p_dialog->i_status == NEW_DIALOG )
+ if( !p_dialog || p_dialog->i_status == NEW_DIALOG
+ || p_dialog->i_status == HIDING_DIALOG )
{
vlc_mutex_unlock( &p_interaction->object_lock ) ;
return;
vlc_mutex_lock( &p_interaction->object_lock );
p_dialog = intf_InteractionGetById( p_this, i_id );
- if( !p_dialog )
+ if( !p_dialog || p_dialog->i_status == NEW_DIALOG
+ || p_dialog->i_status == HIDING_DIALOG )
{
vlc_mutex_unlock( &p_interaction->object_lock );
return;