]> Sergey Matveev's repositories - btrtrc.git/commit
storage: ClientImpl interface now includes Close
authorMatt Joiner <anacrolix@gmail.com>
Tue, 25 Oct 2016 09:00:09 +0000 (20:00 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 25 Oct 2016 09:00:09 +0000 (20:00 +1100)
commit5e83287890e1d18a913dea04c685966a30689866
treea4288765315400daaa6d83a3286047d12afd7cbf
parent3814a50fa07b5be6d565beadfd2ddede695c136f
storage: ClientImpl interface now includes Close

This is now necessary because bolt doesn't allow multiple DB handles, so the bolt piece completion DB instance must be at the client level. The new method is not currently used from the Client however, this maybe necessary to avoid leaks.
storage/interface.go