Commit 7ad6019
committed
Fix overwritten event entries in _webui_new_event_inf
When creating new event info data and number, search for an empty event array entry rather than simply increasing the number and potentially overwriting existing info. This prevents intermittent double deletions when event blocking is disabled and many events of varying run durations occur in a short time.
Also, increase the number of event entries that can be used to WEBUI_MAX_IDS which is the allocated events variable size.1 parent dcc776a commit 7ad6019
1 file changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4804 | 4804 | | |
4805 | 4805 | | |
4806 | 4806 | | |
4807 | | - | |
4808 | | - | |
4809 | | - | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
4810 | 4822 | | |
| 4823 | + | |
4811 | 4824 | | |
4812 | 4825 | | |
4813 | 4826 | | |
| |||
0 commit comments