fix metrics

This commit is contained in:
ginuerzh
2025-06-24 21:18:44 +08:00
parent 1d3603f9ed
commit 66a260abd1
3 changed files with 6 additions and 7 deletions
-1
View File
@@ -108,7 +108,6 @@ func (p *program) run(cfg *config.Config) error {
}()
}
xmetrics.Enable(false)
if p.srvMetrics != nil {
p.srvMetrics.Close()
p.srvMetrics = nil