Skip to content

Commit

Permalink
Avoid Heartbeat process termination infinite loop in some Pharo versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanecek committed Aug 28, 2024
1 parent 350ae76 commit c123dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Ansible-Protocol-Core/AmqpHeartbeatSender.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ AmqpHeartbeatSender >> startBeatingEvery: aTimeInSeconds [
AmqpHeartbeatSender >> stop [

isStarted then: [
process ifNotNil: #terminate.
isStarted := false
isStarted := false.
process ifNotNil: #terminate
]
]

0 comments on commit c123dc6

Please sign in to comment.