Dispatcher executed Future will be cleaned up even after expiring

This commit is contained in:
Derek Williams 2011-04-27 20:45:39 -06:00
parent 43fc3bf463
commit 485013a353
5 changed files with 49 additions and 47 deletions

View file

@ -156,7 +156,7 @@ class CallingThreadDispatcher(val warnings: Boolean = true) extends MessageDispa
if (execute) runQueue(mbox, queue)
}
private[akka] override def executeFuture(invocation: FutureInvocation) { invocation.run }
private[akka] override def executeFuture(invocation: FutureInvocation[_]) { invocation.run }
/*
* This method must be called with this thread's queue, which must already