Skip to content

Commit

Permalink
refactor: remove un-needed code path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tochemey committed Sep 6, 2024
1 parent 6ea830f commit 835ad22
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions actors/pid.go
Original file line number Diff line number Diff line change
Expand Up @@ -1174,10 +1174,6 @@ func (pid *PID) receive() {
return
case <-pid.receiveSignal:
received := pid.mailbox.Pop()
if received == nil {
continue
}

switch received.Message().(type) {
case *goaktpb.PoisonPill:
// stop the actor
Expand Down

0 comments on commit 835ad22

Please sign in to comment.