Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in Object-C #14

Closed
jihongboo opened this issue Apr 12, 2017 · 4 comments
Closed

Crash in Object-C #14

jihongboo opened this issue Apr 12, 2017 · 4 comments

Comments

@jihongboo
Copy link

UMLOG: error: session_id=0A305CA2267A57BCE3328B677E10407C, context=An instance 0x7fab039b2400 of class UITableView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x61000023b420> (
<NSKeyValueObservance 0x61000045e690: Observer: 0x6100001de4b0, Key path: contentInset, Options: <New: YES, Old: YES, Prior: NO> Context: 0x0, Property: 0x608000440d80>

Can you help me with this problem?

@marty-suzuki
Copy link
Owner

What version of ReverseExtension do you install on your app?

@jihongboo
Copy link
Author

The version is 0.4.0.
Beside I fond a Temporary solution.
I put
[tableview removeObserver: tableview.re forKeyPath:@"contentInset"];
into
viewWillDisappear:(BOOL)animated
and it will not crash anymore.

@jihongboo
Copy link
Author

I have updated to 0.4.5 and found out that the bug has been fixed, thank you.😁

@marty-suzuki
Copy link
Owner

Thank you for updating latest version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants