This commit is contained in:
2025-02-27 13:53:15 +08:00
parent 6e4bf4a2c0
commit b36e67f826
6 changed files with 44 additions and 7 deletions

View File

@@ -29,6 +29,9 @@ func Pause(ctrl *common.CtrlWait) leaf.HandlerFunc {
defer wait.Done()
zap.S().Infoln("待机控制器")
ctrl.Open()
defer ctrl.Close()
for {
select {
case <-originalCtx.Done():