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
{{ message }}
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.
But whenever you set the realDelegate (BlocksKit does this automatically for you when you call the normal delegate setter), we attach a block to the real delegate that nils out our reference when it gets deallocated. However, we retain/autorelease whenever getting the real delegate to prevent it from unexpectedly disappearing. I think that might be the cause. We'll investigate alternate methods. Thanks for reporting this.
I have a custom view controller (WebViewController) that contains a UIWebView, and which is also the delegate of that web view.
Note that while I am using BlocksKit in this project, this UIWebView does not use any BlocksKit extensions.
When the WebViewController is dismissed, regardless of whether the URL had finished loading or not, I get:
*** -[WebViewController release]: message sent to deallocated instance
from AutoreleasePoolPage::pop.
Also note that my project is using ARC, so at no point am I manually releasing anything.
In the dealloc method of my WebViewController, I am setting the UIWebView's delegate to nil, so that shouldn't be causing any problems.
When I exclude UIWebView+BlocksKit.m from the project, everything works fine.
Sorry I don't know how to debug this any better, let me know if there's anything I can try to get you more info.
Cheers,
Nick
The text was updated successfully, but these errors were encountered: