0

Sometimes I get this error with Haneke library and Swift.

Here is a screenshot of the error:

Screenshot of error

This doesn't happen every time I open the app.

Magnilex
  • 11,584
  • 9
  • 62
  • 84
Mirza Delic
  • 4,119
  • 12
  • 55
  • 86

2 Answers2

0

in Haneke/Cache.swift

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), {

+
with this:

 dispatch_async(dispatch_get_main_queue(), {

it should work fine then

fad qm
  • 3
  • 4
0

A new version of the Haneke library fixed this error.

Magnilex
  • 11,584
  • 9
  • 62
  • 84
Mirza Delic
  • 4,119
  • 12
  • 55
  • 86