Habilitate store dumper

This commit is contained in:
lash
2024-12-08 22:48:39 +00:00
parent a3e821fb16
commit 604c16ec90
6 changed files with 30 additions and 5 deletions

View File

@@ -116,5 +116,7 @@ func(tdb *ThreadGdbmDb) Close() error {
}
func(tdb *ThreadGdbmDb) Dump(ctx context.Context, key []byte) (*db.Dumper, error) {
tdb.reserve()
defer tdb.release()
return tdb.db.Dump(ctx, key)
}