# HG changeset patch # User William Pitcock # Date 1186795710 18000 # Node ID 6dbb73b8e28cf862495964ce075b96852b45f629 # Parent 6f6f38157229732b49364d11f029e30e24fe6067 thread sanity checks diff -r 6f6f38157229 -r 6dbb73b8e28c src/audacious/playback.c --- a/src/audacious/playback.c Fri Aug 10 20:23:33 2007 -0500 +++ b/src/audacious/playback.c Fri Aug 10 20:28:30 2007 -0500 @@ -224,7 +224,10 @@ playback->plugin->stop(playback); if (playback->thread != NULL) + { g_thread_join(playback->thread); + playback->thread = NULL; + } free_vis_data(); ip_data.paused = FALSE;