github/Akavache — pull request #33 by Haacked (2013-03-03 21:53:40+00:00)
Title: Fix race condition reading/writing cache entries

We added the KeyedOperationQueue but methods like `SafeOpenFileAsync` open
a `FileStream` immediately bypassing the queue. I simply made it a `Func` so it only happens when it's time to queue an operation.

Also removed the `InvalidateAllRequests` call which happens to run immediately as well and caused deadlocking.