-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Restart sync loop when resuming from sleep (#2370)
When the computer goes to sleep, we stop the synchronization lifecycle which results in suspending the synchronization loop. The `resume()` method used to call the `start()` method which in turn starts the synchronization loop. However, the `resume()` method now has its own actions and we forgot to start the synchronization loop as part of them. This resulted in changes not being synchronized although they were detected by the watchers.
- Loading branch information
Showing
3 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters