Adding warning message for non-eviction so that people can see when there's a bug

This commit is contained in:
Viktor Klang 2011-11-17 14:21:53 +01:00
parent 9f36aeff7f
commit 0fbe1d3e10

View file

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