Skip to content

Commit

Permalink
fix: cleaning file descriptors (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin authored Dec 3, 2023
1 parent 1050e89 commit 18f7558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/rollappd/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ func startInProcess(ctx *server.Context, clientCtx client.Context, nodeConfig *d
if err != nil {
return err
}
defer db.Close()

traceWriterFile := ctx.Viper.GetString(flagTraceStore)
traceWriter, err := utils.OpenTraceWriter(traceWriterFile)
Expand Down

0 comments on commit 18f7558

Please sign in to comment.