ReactKit / SwiftTask

Promise + progress + pause + cancel + retry for Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some strange behaviour

Koshub opened this issue · comments

Can you help please? Found some case when failure block is called after task is fulfilled. I don't understand how could it be possible but from stacktrace of XCode cancel method is called from task deinit. This cause the task to be handled as canceled in my code, but I has fulfilled it. I don't understand what I made wrong.

screen shot 2016-10-03 at 10 16 08 pm