-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
compactRealmFile() doesn't cleanup properly #953
Labels
Comments
1 task
Edit: Core has implemented its own compact method on ShareGroup. Use that instead. |
Any documentation on this? |
How do we use the compact method on ShareGroup? |
You don't :)....SharedGroup is an concept used in the internal API's. From a user perspective you should be using:
This bug is about the current implementation of that API not cleaning up properly in some cases, but using it has not changed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If
Realm.compactRealmFile()
fails for some reason, the temporary files created might not get deleted. This can leave rather large copies of unused Realm files on the disc.The text was updated successfully, but these errors were encountered: