pjfanning commented on code in PR #3096:
URL: https://github.com/apache/pekko/pull/3096#discussion_r3444277131


##########
persistence/src/main/scala/org/apache/pekko/persistence/fsm/PersistentFSMBase.scala:
##########
@@ -482,11 +481,32 @@ trait PersistentFSMBase[S, D, E] extends Actor with 
Listeners with ActorLogging
    * transition handling
    */
   private var transitionEvent: List[TransitionHandler] = Nil
+  private val watchedListeners: mutable.Set[ActorRef] = mutable.Set.empty

Review Comment:
   Why not a var with an immutable Set? Like the `transitionEvent` list above.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to