Commit 76d7c1bc authored by Clément Stenac's avatar Clément Stenac

Don't reprint messages on quit

parent 468a26f8
...@@ -105,12 +105,15 @@ void __msg_Flush( vlc_object_t *p_this ) ...@@ -105,12 +105,15 @@ void __msg_Flush( vlc_object_t *p_this )
p_this->p_libvlc->msg_bank.b_configured = VLC_TRUE; p_this->p_libvlc->msg_bank.b_configured = VLC_TRUE;
#if 0
/* Some messages remain in the queue, dont rewrite them */
for( i_index = p_this->p_libvlc->msg_bank.i_start; for( i_index = p_this->p_libvlc->msg_bank.i_start;
i_index != p_this->p_libvlc->msg_bank.i_stop; i_index != p_this->p_libvlc->msg_bank.i_stop;
i_index = (i_index+1) % VLC_MSG_QSIZE ) i_index = (i_index+1) % VLC_MSG_QSIZE )
{ {
PrintMsg( p_this, &p_this->p_libvlc->msg_bank.msg[i_index] ); PrintMsg( p_this, &p_this->p_libvlc->msg_bank.msg[i_index] );
} }
#endif
FlushMsg( &p_this->p_libvlc->msg_bank ); FlushMsg( &p_this->p_libvlc->msg_bank );
......
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