i see that self.session getTasksWithCompletionHandler on initWithSessionConfiguration method in AFURLSessionManager class, is the tasks of self.session when was inited nil?
I believe this for restoring a session from the background.
Sorry for asking a question in closed issue. I'm quite confused about "I believe this for restoring a session from the background". The 'background' means after the duration when app
is suspended by the system or from another thread? If it's of former then it makes sense.
为了防止后台回来,重新初始化这个session,一些之前的后台请求任务,导致程序的crash。
Most helpful comment
I believe this for restoring a session from the background.