changeset 1300:c198ae31bb74

Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author William Pitcock <nenolod@atheme-project.org>
date Thu, 19 Jul 2007 12:56:04 -0500
parents 7184bbd63761 (diff) 94eee8a16189 (current diff)
children df5d07d7ca7c 51bf0e431e02
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lastfm/lastfm.c	Thu Jul 19 15:25:19 2007 +0200
+++ b/src/lastfm/lastfm.c	Thu Jul 19 12:56:04 2007 -0500
@@ -382,7 +382,7 @@
                 count++;
 
         }
-        while (g_thread_self()==metadata_thread && err<10);
+        while (g_thread_self()==metadata_thread && err<10 && handle != NULL);
 
 #if DEBUG
         g_print("Exiting thread, ID = %p\n", (void *)g_thread_self());