Skip to content

Commit

Permalink
mark stop() method as noinline
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Sep 17, 2024
1 parent 2add3c2 commit 82991a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private[pekko] trait Dispatch { this: ActorCell =>
catch handleException

// ➡➡➡ NEVER SEND THE SAME SYSTEM MESSAGE OBJECT TO TWO ACTORS ⬅⬅⬅
final def stop(): Unit =
@noinline final def stop(): Unit =
try dispatcher.systemDispatch(this, Terminate())
catch handleException

Expand Down

0 comments on commit 82991a5

Please sign in to comment.