spray/spray — pull request #418 by MarkvanderTol (2013-08-04 13:21:05+00:00)
Title: Prevent NPE when dispatching response to closed connection

Fixes the NPE that is thrown when a request completes after a timeout has occurred and the connection has been closed. See #387

Before using the actorContext, it is checked that it has not become null.