Commit 6b3892f7 authored by Rafaël Carré's avatar Rafaël Carré

input state: don't delete non existing callbacks

parent c6d58bc3
......@@ -241,7 +241,8 @@ void input_ControlVarInit ( input_thread_t *p_input )
*****************************************************************************/
void input_ControlVarStop( input_thread_t *p_input )
{
InputDelCallbacks( p_input, p_input_callbacks );
if( !p_input->b_preparsing )
InputDelCallbacks( p_input, p_input_callbacks );
if( p_input->p->i_title > 0 )
{
......
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