diff --git a/src/bin/ephoto_albums.c b/src/bin/ephoto_albums.c index df0caa6..535f285 100755 --- a/src/bin/ephoto_albums.c +++ b/src/bin/ephoto_albums.c @@ -219,7 +219,7 @@ populate_images(Ewl_Widget *w, void *event, void *data) printf("ERROR: Couldn't create thread!\n"); return; } - pthread_detach(thumb_worker); + pthread_join(thumb_worker, NULL); return; }