NancyFx/Nancy — pull request #1230 by trilobyte (2013-09-18 12:27:47+00:00)
Title: disposed the (template) files/resources after using them

There are several places in the Nancy codebase where the filesystem/resource streams were not properly disposed of. This caused problems with accessing those files/resources.

I have wrapped all usages into a using block so they get disposed of as soon as they are not needed anymore.

Please let me know if you need more changes.