Mercurial > audlegacy-plugins
changeset 1299:7184bbd63761
Check to make sure thread isn't free'd().
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Thu, 19 Jul 2007 12:55:56 -0500 |
parents | 1d81217767ab |
children | c198ae31bb74 |
files | src/lastfm/lastfm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lastfm/lastfm.c Mon Jul 16 13:17:12 2007 -0500 +++ b/src/lastfm/lastfm.c Thu Jul 19 12:55:56 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());