Remove HubMemo debugging
This commit is contained in:
parent
67c18b0110
commit
5f946f3faf
|
@ -44,12 +44,10 @@ final class HubMemo(makeHistory: () ⇒ History) {
|
|||
def count = cache.size
|
||||
|
||||
private def compute(gameId: String): ActorRef = {
|
||||
println("create game room " + gameId)
|
||||
Akka.system.actorOf(Props(new Hub(gameId, makeHistory())))
|
||||
}
|
||||
|
||||
private def onRemove(gameId: String, actor: ActorRef) {
|
||||
println("delete game room " + gameId)
|
||||
actor ! Close
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue