From d5c1fa593712372867096704c0effaca86820800 Mon Sep 17 00:00:00 2001 From: tosiara Date: Mon, 25 Apr 2022 05:13:30 +0300 Subject: [PATCH] Fix event trigger on Quit (https://gist.github.com/Mr-Dave/876aa74d62c7b054dd2602d90403bd2a) (#1524) Thanks --- src/webu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/webu.c b/src/webu.c index d52bfee4..1de53dca 100644 --- a/src/webu.c +++ b/src/webu.c @@ -620,7 +620,6 @@ void webu_process_action(struct webui_ctx *webui) _("Quitting thread %d"),webui->thread_nbr); webui->cntlst[indx]->restart = FALSE; webui->cntlst[indx]->event_stop = TRUE; - webui->cntlst[indx]->event_user = TRUE; webui->cntlst[indx]->finish = TRUE; } } else { @@ -628,7 +627,6 @@ void webu_process_action(struct webui_ctx *webui) _("Quitting thread %d"),webui->thread_nbr); webui->cnt->restart = FALSE; webui->cnt->event_stop = TRUE; - webui->cnt->event_user = TRUE; webui->cnt->finish = TRUE; } @@ -638,7 +636,6 @@ void webu_process_action(struct webui_ctx *webui) webui->cntlst[indx]->webcontrol_finish = TRUE; webui->cntlst[indx]->restart = FALSE; webui->cntlst[indx]->event_stop = TRUE; - webui->cntlst[indx]->event_user = TRUE; webui->cntlst[indx]->finish = TRUE; indx++; }