修复停止的信号

This commit is contained in:
2024-11-12 15:02:10 +08:00
parent cc12b60437
commit 9f40a7156e
5 changed files with 11 additions and 14 deletions

View File

@@ -34,7 +34,6 @@ func TimeoutOver(maxTimeout int) leaf.HandlerFunc {
cancel := leaf.WithCancel(c)
wait.Add(1)
go func() {
// 等待结束
defer wait.Done()
logger.Infoln("超时 Timer 监控开始")