Skip to content

Commit 78ffcdb

Browse files
committed
chore: fix lock
1 parent b1c73a7 commit 78ffcdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

consensus/state.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1630,6 +1630,7 @@ func (cs *State) enterPrecommit(height int64, round int32) {
16301630
t := time.NewTimer(waitTime)
16311631
select {
16321632
case <-cs.Quit():
1633+
cs.lockAll()
16331634
return
16341635
case <-t.C:
16351636
}

0 commit comments

Comments
 (0)