Skip to content

Commit

Permalink
fix: defer close timezone db
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Oct 2, 2023
1 parent 48a123b commit f4df299
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/usnws/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type scriptUsnws struct {
}

func (s *scriptUsnws) ListGauges() (core.Gauges, error) {
defer core.CloseTimezoneDb()
gaugesCh := make(chan *core.Gauge)
errCh := make(chan error)
go func() {
Expand Down

0 comments on commit f4df299

Please sign in to comment.