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 during client reset if notify_after_client_reset or notify_before_client_reset are nil. #5223

Closed
ejm01 opened this issue Feb 4, 2022 · 1 comment · Fixed by #5228
Closed
Assignees

Comments

@ejm01
Copy link
Contributor

ejm01 commented Feb 4, 2022

SDK and version

SDK : RealmSwift
Version: Core 11.9.0

Observations

If an sdk passes in a nil callback to notify_after_client_reset or notify_before_client_reset, then core will release a .clientResetError.
I believe they should be nullable?

Crash log / stacktrace

Exception happens here or here.

Steps & Code to Reproduce

I can provide reproduction if needed.

@ejm01
Copy link
Contributor Author

ejm01 commented Feb 4, 2022

This is for discardLocal mode.

@ironage ironage self-assigned this Feb 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants