13 lines
368 B
Diff
13 lines
368 B
Diff
|
diff -uNr wavemon-0.9.0/scan_scr.c wavemon-0.9.0.mod/scan_scr.c
|
||
|
--- wavemon-0.9.0/scan_scr.c 2018-12-30 03:08:25.000000000 +0200
|
||
|
+++ wavemon-0.9.0.mod/scan_scr.c 2019-07-03 16:51:31.595109371 +0300
|
||
|
@@ -250,7 +250,7 @@
|
||
|
|
||
|
void scr_aplst_fini(void)
|
||
|
{
|
||
|
- pthread_cancel(scan_thread);
|
||
|
+ pthread_kill(scan_thread, 0);
|
||
|
free_scan_list(sr.head);
|
||
|
free(sr.channel_stats);
|
||
|
|