HybridKit-iOS icon indicating copy to clipboard operation
HybridKit-iOS copied to clipboard

HYWebViewController doesn't release after close view

Open daicaga opened this issue 9 years ago • 1 comments

Hi @clayallsopp

Thanks for your cool library.

I have a big issue with HYWebViewController. My ViewController inherited from HYWebViewController, I wrote dealloc method to release some of my resources/variables,... after I used it.

After that, I connect my ViewController by storyboard. I call perform to push a new segue, dealloc method does not run.

How I can fix it?

Thanks, daicaga

daicaga avatar Jul 15 '15 07:07 daicaga

What kind of segue were you performing? Do you expect the controller to be released from memory with that segue?

Using tools in Instruments (like Leaks) might be helpful as well - this might be a helpful article

clayallsopp avatar Jul 21 '15 01:07 clayallsopp