mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-21 14:37:02 -04:00
Fix event trigger on Quit (https://gist.github.com/Mr-Dave/876aa74d62c7b054dd2602d90403bd2a) (#1524)
Thanks
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user