Browse Source

Kill off the longpoll thread in kill_work only if have_longpoll is true.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
acf88e0da4
  1. 1
      main.c

1
main.c

@ -2551,6 +2551,7 @@ void kill_work(void) @@ -2551,6 +2551,7 @@ void kill_work(void)
if (opt_debug)
applog(LOG_DEBUG, "Killing off longpoll thread");
thr = &thr_info[longpoll_thr_id];
if (have_longpoll)
thr_info_cancel(thr);
if (opt_debug)

Loading…
Cancel
Save