fix lint
This commit is contained in:
parent
0c5e336ff1
commit
df9670c58d
@ -1154,7 +1154,9 @@ func (s *SplitStore) endTxnProtect() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// release markset memory
|
// release markset memory
|
||||||
s.txnProtect.Close()
|
if s.txnProtect != nil {
|
||||||
|
_ = s.txnProtect.Close()
|
||||||
|
}
|
||||||
|
|
||||||
s.txnActive = false
|
s.txnActive = false
|
||||||
s.txnProtect = nil
|
s.txnProtect = nil
|
||||||
|
Loading…
Reference in New Issue
Block a user