Comment 2 for bug 567890

Revision history for this message
Dmitry Tantsur (divius) wrote :

Function causing hang (src/madplug/plugin.c):

static void audmad_stop (InputPlayback * playback)
{
    g_mutex_lock (control_mutex);
    info.playback->playing = FALSE;
    g_cond_signal (control_cond);
    g_mutex_unlock (control_mutex);
    g_thread_join (playback->thread); // !!! it hangs here !!!
    playback->thread = NULL;

    input_term (& info);
}