When we cancel an NSURLConnection, we release its delegate (and delegate proxy). But there may already be delegate calls scheduled on operation queue, or even already executing.
Created attachment 196184 [details]
Comment on attachment 196184 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=196184&action=review
> - d->m_proxy.adoptNS(wkCreateNSURLConnectionDelegateProxy());
Will we also remove this WebKitSystemInterface function?
> Will we also remove this WebKitSystemInterface function?
Good idea, I didn't think of these. Will make a separate patch.