Skip to content

Conversation

@shenlong-tanwen
Copy link
Member

Description

  • Uses locking mechanism to synchronize between the background (from background worker) and foreground sync process (from Main Isolate)
  • The main isolate requests the background worker to close and waits for it to close before startup and on subsequent startups from paused state
  • Before going into the paused state, the main app cancels all sync and releases the lock to let the background worker perform them

shenlong-tanwen and others added 3 commits September 3, 2025 20:32
# Conflicts:
#	mobile/lib/domain/services/background_worker.service.dart
#	mobile/lib/platform/background_worker_api.g.dart
#	mobile/pigeon/background_worker_api.dart
@alextran1502 alextran1502 merged commit 5fe954b into main Sep 4, 2025
49 checks passed
@alextran1502 alextran1502 deleted the fix/use-background-lock branch September 4, 2025 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants