Closed cerupcat closed 5 years ago
Please add [self.tableView removeObserver:self forKeyPath:"layoutMargins"]
to the deinit
call in ABLESettingsViewController.mm
Thanks for reporting this. I made a new release with the suggested fix. Please give it a try. How did you run into this? Are you using the precompiled release or do you use the VC alone?
@fgo-ableton I'm using the precompiled release and I saw some crashes come in from crashlytics. It's fairly rare, but I was able to reproduce it at random and narrowed it down to this.
@cerupcat Thanks for the info! According to Apple this should only be an issue with older iOS versions. Maybe that is why it did not come up earlier.
ABLSettingsViewController
observes thelayoutMargins
key, but doesn't remove the observer on dealloc and therefore a crash can occur when it gets deallocated.