Open liraz opened 5 years ago
Hi @liraz thanks for reporting this.
I agree the removeObserver
calls should be in the dealloc as well. However, it is good to keep them in viewWillDisappear
so that the view controller does only get notified if the view is being shown.
It seems that a previous reference of XLFormController is being retained because it was killed before the viewDidDisappear was supposed to be called. Then cell rowDescriptor cellConfig is actually nil - though most definitely had it before.
Here's the crash log: