Mercurial > audlegacy-plugins
comparison src/lastfm/lastfm.c @ 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 | 8af27e02e7b7 |
children | 59699988d194 |
comparison
equal
deleted
inserted
replaced
1281:1d81217767ab | 1299:7184bbd63761 |
---|---|
380 } | 380 } |
381 sleep(1); | 381 sleep(1); |
382 count++; | 382 count++; |
383 | 383 |
384 } | 384 } |
385 while (g_thread_self()==metadata_thread && err<10); | 385 while (g_thread_self()==metadata_thread && err<10 && handle != NULL); |
386 | 386 |
387 #if DEBUG | 387 #if DEBUG |
388 g_print("Exiting thread, ID = %p\n", (void *)g_thread_self()); | 388 g_print("Exiting thread, ID = %p\n", (void *)g_thread_self()); |
389 #endif | 389 #endif |
390 thread_count--; | 390 thread_count--; |