-
Notifications
You must be signed in to change notification settings - Fork 9
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
refactor: Harden Realm transactions behind BackgroundExecutor #1105
Conversation
fix: Using a BackgroundExecutor should prevent the OS from killing the app mid transaction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First auto review
kDrive/UI/View/Files/FileDetail/ShareLink/UsersAccessTableViewCell.swift
Show resolved
Hide resolved
…n oder to make frozen more explicit
… what should me moved to core.
@PhilippeWeidmann I had the time to do what we discussed. I can split this PR if it will make the review easier / faster. |
The |
|
Superseded by APIV3. Will redo more realm safety later. |
Abstract
When we do a realm transaction, we want to make sure the system will not interrupt us while doing so.
While doing it I also brought back some abstractions we have on the
Mail
side to prepare an abstractioncore
side.I also took the liberty to apply our new standard of making explicit if a realm object is
frozen
or not.