wxiaoguang a8f5449cd9
Avoid unexpected panic in graceful manager (#29629)
There is a fundamental design problem of the "manager" and the "wait
group".
If nothing has started, the "Wait" just panics: sync: WaitGroup is
reused before previous Wait has returned
There is no clear solution besides a complete rewriting of the "manager"

If there are some mistakes in the app.ini, end users would just see the
"panic", but not the real error messages. A real case: #27643

This PR is just a quick fix for the annoying panic problem.

(cherry picked from commit 90a3f2d4b7ed3890d9655c0334444f86d89b7b30)
2024-03-11 23:36:58 +07:00
..
2024-03-02 17:58:09 +01:00
2023-12-19 09:29:05 +00:00
2023-07-07 05:31:56 +00:00
2024-02-05 13:33:58 +01:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00