CustomScrollIndicator icon indicating copy to clipboard operation
CustomScrollIndicator copied to clipboard

Crash on dealloc

Open idandrs opened this issue 11 years ago • 2 comments

This causes a crash when trying to dealloc the object that uses this class. I tried to catch the exception (without doing anything with it) but then it crashes even earlier (when loading, I think.) Any Ideas? did somebody solve it?

idandrs avatar Nov 11 '14 14:11 idandrs

Can you send me some code to reproduce this bug?

leverdeterre avatar Nov 27 '14 07:11 leverdeterre

I had this same issue and to fix it I made the method -(void)removeKVOObservers public and then called it on the text field with the custom scroll indicator in viewWillDisappear, inside the view controller that the text field was attached to.

screen shot 2015-08-26 at 7 05 17 pm screen shot 2015-08-26 at 7 05 55 pm

matthewbordas avatar Aug 27 '15 02:08 matthewbordas