}
/* We should be safe now. Do all the initialization stuff we want. */
- p_root->b_ready = false;
vlc_threadvar_create( p_root, &msg_context_global_key );
}
i_initializations++;
#endif
assert( i_initializations > 0 );
- if( i_initializations == 0 )
+
+ if( i_initializations == 1 )
vlc_object_release( p_root );
i_initializations--;