Update MyCookieManager.swift
return false if cookie is not created
This commit is contained in:
parent
228030cf19
commit
600bceafc0
|
@ -136,6 +136,8 @@ public class MyCookieManager: ChannelDelegate {
|
||||||
MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in
|
MyCookieManager.httpCookieStore.setCookie(cookie, completionHandler: {() in
|
||||||
result(true)
|
result(true)
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
result(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue