# HG changeset patch # User Naoya OYAMA # Date 1352296459 -32400 # Node ID 1d6674183e76e8c8e611805068d8dd6ca6b968c5 # Parent 2ae60285f38315d496805de9c3e2aca2f3a77f69 Fix problem: If do not specify DLNA, will not call pthread_join(stream_thread,) diff -r 2ae60285f383 -r 1d6674183e76 src/recpt1.c --- a/src/recpt1.c Mon Nov 05 23:11:32 2012 +0900 +++ b/src/recpt1.c Wed Nov 07 22:54:19 2012 +0900 @@ -1421,10 +1421,10 @@ /* wait for threads */ pthread_join(reader_thread, NULL); - pthread_join(stream_thread, NULL); pthread_join(signal_thread, NULL); pthread_join(ipc_thread, NULL); if ( use_dlna ) { + pthread_join(stream_thread, NULL); pthread_join(dlna_thread, NULL); if ( channel_list ) close_list_file(channel_list);