尝试修复自动重载配置不成功的BUG

This commit is contained in:
wyx2685
2023-11-24 18:16:44 +09:00
parent 330f3b1449
commit 41b7cf8eb9
2 changed files with 10 additions and 5 deletions

View File

@@ -110,6 +110,10 @@ func (c *Controller) Close() error {
if c.onlineIpReportPeriodic != nil {
c.onlineIpReportPeriodic.Close()
}
err := c.server.DelNode(c.tag)
if err != nil {
return fmt.Errorf("del node error: %s", err)
}
return nil
}