Skip to content

Commit

Permalink
remove the close
Browse files Browse the repository at this point in the history
  • Loading branch information
cfzjywxk committed Mar 18, 2021
1 parent e239169 commit 76838b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion store/tikv/2pc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,6 @@ func (c *twoPhaseCommitter) execute(ctx context.Context) (err error) {
zap.Uint64("startTS", c.startTS), zap.Uint64("commitTS", c.commitTS),
zap.Uint64("sessionID", c.sessionID))
go func() {
defer c.ttlManager.close()
failpoint.Inject("asyncCommitDoNothing", func() {
failpoint.Return()
})
Expand Down

0 comments on commit 76838b2

Please sign in to comment.