Cancel a request Alamofire

前端 未结 5 1011
青春惊慌失措
青春惊慌失措 2020-12-23 21:14

I am sending a request which is triggered based on timer. But if I press the back button the request still seems to be active and the response in turns crashes the app. Kind

5条回答
  •  借酒劲吻你
    2020-12-23 21:57

    In case it helps anyone, in my case I had a RequestRetrier on the SessionManager that retried the request after it was canceled, so be sure to check there!

提交回复
热议问题