mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: use lock to synchronise foreground and background backup (#21522)
* fix: use lock to synchronise foreground and background backup # Conflicts: # mobile/lib/domain/services/background_worker.service.dart # mobile/lib/platform/background_worker_api.g.dart # mobile/pigeon/background_worker_api.dart * add timeout to the splash-screen acquire lock * fix: null check on created date --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
7f81a5bd6f
commit
5fe954b3c9
9 changed files with 300 additions and 21 deletions
|
|
@ -24,6 +24,7 @@ abstract class BackgroundWorkerBgHostApi {
|
|||
// required platform channels to notify the native side to start the background upload
|
||||
void onInitialized();
|
||||
|
||||
// Called from the background flutter engine to request the native side to cleanup
|
||||
void close();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue