nickel-org/nickel.rs — pull request #81 by SimonPersson (2014-09-28 19:02:21+00:00)
Title: fix(response): Solve deadlock

Commit #91b392c introduced a deadlock in the response.render() function that made pages load forever. The problem was that we tried to get the writers lock while we held he readers lock already.

This makes the code a bit uglier but at least it works.