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

Fix a crash when beginning an async write triggers notifications which close the Realm #6548

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tgoyne
Copy link
Member

@tgoyne tgoyne commented Apr 27, 2023

Beginning a write transaction can result in the Realm being closed as it can trigger notifications, and the async write loop was missing a check for this.

@tgoyne tgoyne self-assigned this Apr 27, 2023
@cla-bot cla-bot bot added the cla: yes label Apr 27, 2023
@tgoyne tgoyne force-pushed the tg/close-in-async-begin branch 2 times, most recently from a217db7 to 370bac4 Compare April 27, 2023 18:36
…h close the Realm

Beginning a write transaction can result in the Realm being closed as it can
trigger notifications, and the async write loop was missing a check for this.
@tgoyne tgoyne force-pushed the tg/close-in-async-begin branch from 370bac4 to 28b62af Compare May 20, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant