He-Pin commented on code in PR #1385:
URL: https://github.com/apache/pekko/pull/1385#discussion_r1663521880


##########
actor-tests/src/test/scala/org/apache/pekko/actor/SupervisorSpec.scala:
##########
@@ -95,6 +95,14 @@ object SupervisorSpec {
     }
   }
 
+  class Child(cnt: Int) extends Actor {

Review Comment:
   seems like we need closing over the origin AtomicInteger because the restart 
will keep the actor state instead of recreate.



-- 
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