andrewdavey/cassette — pull request #275 by willholley (2012-06-12 09:30:31+00:00)
Title: Fix for #267 - lock recursion exception

Previously, the BundleCollection.InitialisationException property was
attempting to acquire a recursive WriteLock (it had already been taken out
by DiagnosticRequestHandler.RebuildCache). The default behaviour of
ReaderWriterLockSlim is to reject the acquisition. This patch allows
recursive locks to be taken out, which fixes this problem generally.