Commit 3c3678f1 authored by Rafaël Carré's avatar Rafaël Carré

freetype: make sure the FontBuilder is finished when we destroy the module.

parent c758dd29
...@@ -447,6 +447,8 @@ static void Destroy( vlc_object_t *p_this ) ...@@ -447,6 +447,8 @@ static void Destroy( vlc_object_t *p_this )
} }
#ifdef HAVE_FONTCONFIG #ifdef HAVE_FONTCONFIG
/* wait for the FontBuilder thread to terminate */
vlc_thread_join( p_this );
vlc_mutex_destroy( &p_sys->fontconfig_lock ); vlc_mutex_destroy( &p_sys->fontconfig_lock );
if( p_sys->p_fontconfig ) if( p_sys->p_fontconfig )
......
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