diff --git a/benchmarks/bench_test.go b/benchmarks/bench_test.go index b8200d6e36..9001f1abf4 100644 --- a/benchmarks/bench_test.go +++ b/benchmarks/bench_test.go @@ -91,6 +91,7 @@ func BenchmarkTxSending(b *testing.B) { for name, tc := range cases { b.Run(name, func(b *testing.B) { db := tc.db(b) + defer db.Close() appInfo := InitializeWasmApp(b, db, tc.numAccounts) txs := tc.txBuilder(b, &appInfo)