You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the network operation is finished both client and sessionTask of the origin request are set to nil so calling the curlDescription() function results in an error.
This happens in completeTask(_ task: URLSessionTask, error: Error?) function:
// Reset the link to the client
handler.request.client =nil
handler.request.sessionTask =nil
There is no need anymore to reset these values, client is already a weak var.
The text was updated successfully, but these errors were encountered:
Bug Report
Once the network operation is finished both
client
andsessionTask
of the originrequest
are set tonil
so calling thecurlDescription()
function results in an error.This happens in
completeTask(_ task: URLSessionTask, error: Error?)
function:There is no need anymore to reset these values,
client
is already aweak
var.The text was updated successfully, but these errors were encountered: