Akavache icon indicating copy to clipboard operation
Akavache copied to clipboard

SQLitePersistentBlobCache Flush / Vacuum hang when awaited

Open chrisriesgo opened this issue 12 years ago • 6 comments

If I await a call to Flush() or Vacuum() on my SQLitePersistentBlobCache, the app just hangs.

e.g. - await BlobCache.Secure.Flush();

Am I missing something, should I not await this call, or is this a bug?

chrisriesgo avatar Sep 02 '14 15:09 chrisriesgo

What version of Akavache are you running? This is definitely a bug

anaisbetts avatar Sep 02 '14 18:09 anaisbetts

I see it on 4.0.2 and 4.0.3.2 -- Android client app. Haven't tested or confirmed the behavior on iOS.

chrisriesgo avatar Sep 02 '14 20:09 chrisriesgo

I'm also hitting this in 4.1.0. Also happens only on Android, and not reliably. Any further insight into what's causing this?

As a hack I'm throwing a timeout on it and hoping nothing too bad happens when I ignore the timeout, so far so good...

mikefayer avatar Mar 14 '15 20:03 mikefayer

I am facing the same issue, on Xamarin and iOS, with akavache 4.1.0.

GPugnet avatar Apr 17 '15 14:04 GPugnet

I am also facing this issue, on Xamarin.Mac 1.12 and Akavache 4.1.1.

hampos avatar May 03 '15 09:05 hampos

This should be fixed with https://github.com/akavache/Akavache/pull/254

flagbug avatar May 10 '16 07:05 flagbug