diff --git a/sgminer.c b/sgminer.c index cac013da..e387e557 100644 --- a/sgminer.c +++ b/sgminer.c @@ -3315,13 +3315,8 @@ static void kill_mining(void) if (thr && PTH(thr) != 0L) pth = &thr->pth; thr_info_cancel(thr); -#ifndef WIN32 if (pth && *pth) pthread_join(*pth, NULL); -#else - if (pth && pth->p) - pthread_join(*pth, NULL); -#endif } }