Skip to content

Commit

Permalink
mvstates: fix oom issue when mining is enabled;
Browse files Browse the repository at this point in the history
  • Loading branch information
galaio authored and sunny2022da committed Nov 14, 2024
1 parent 42653fa commit d1aad9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/mvstates.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func (s *MVStates) Stop() error {
}

func (s *MVStates) stopAsyncDepGen() {
if s.asyncRunning {
if !s.asyncRunning {
return
}
s.asyncRunning = false
Expand Down

0 comments on commit d1aad9b

Please sign in to comment.