-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
RLMProgressNotificationToken released without unregistering a notification. You must hold on to the RLMProgressNotificationToken and call -[RLMProgressNotificationToken invalidate] when you no longer wish to receive progress update notifications. #7831
Comments
Do you know what's causing the session to be released that makes you think the error falsely produced? |
Well, I did what the warning says, I hold the token and then called This is happening on the |
What is the " That'd be super helpful. |
It'll take some time to isolate the issue and create working example but I will try |
Please check the reproduction example here https://github.com/anton-plebanovich/SingleView/tree/realm/notification-token-bug |
Description
The error is falsely produced when a session is released before
invalidate
for a token is called causing an inability to reset the_token
value and so producing a misleading error message. On the screenshot is the proposed solution but I don't know the Realm source base good enough so it's up to you.Version
10.27.0
The text was updated successfully, but these errors were encountered: