mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
fix(fsrepo): remove the Closer after closing it.
This commit is contained in:
parent
6ec20b3574
commit
53e6a9bd1a
@ -307,6 +307,7 @@ func transitionToClosed(r *FSRepo) error {
|
||||
if err := closer.Close(); err != nil {
|
||||
return err
|
||||
}
|
||||
delete(lockfiles, r.path)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user