playframework/Play20 — pull request #476 by jroper (2012-10-09 22:42:25+00:00)
Title: Actor system static refs refactoring

This commit does the following:

* Removes race conditions in Promise.system and Invoker.system that were causing Play to leak threads and our builds to hang
* Cleans up Invoker shutdown, so it can be just shutdown by calling reset()
* Removes unnecessary static access of Invoker.system() in WebSocketHandler, since the class that implements it already has non static access to an invoker
* Looks up defaultTimeout direct from Play configuration, rather than going indirectly to play configuration through loading an actor system