Adding warning message for non-eviction so that people can see when there's a bug
This commit is contained in:
parent
9f36aeff7f
commit
0fbe1d3e10
1 changed files with 3 additions and 1 deletions
|
|
@ -347,7 +347,9 @@ private[akka] class ActorCell(
|
|||
}
|
||||
|
||||
private def doTerminate() {
|
||||
app.provider.evict(self.path.toString)
|
||||
if (!app.provider.evict(self.path.toString))
|
||||
app.eventStream.publish(Warning(self, "evict of " + self.path.toString + " failed"))
|
||||
|
||||
dispatcher.detach(this)
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue