Skip to content

Commit

Permalink
fix:meerpool reset template stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
lochjin committed Nov 23, 2024
1 parent c18e0dc commit ac130ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meerevm/meer/meerpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ func (m *MeerPool) handler() {
return
case msg := <-m.resetTemplate:
m.updateTemplate(true)
select {
case <-m.quit:
return
default:
}
msg.reply <- struct{}{}
case <-stallTicker.C:
m.handleStallSample()
Expand Down

0 comments on commit ac130ed

Please sign in to comment.