mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
Follow-ups to the #8309 in-tab sync-cycle guard: - forceUpload() now claims SyncCycleGuard (released in finally), mirroring _forceDownload(), so its setLastServerSeq bookkeeping and session-validation latch can't race the immediate-upload / WS-download side channels. All forceUpload call sites are deferred snackbar/dialog callbacks that run after the originating cycle released the guard, so it cannot self-skip. - WsTriggeredDownloadService now skips downloads while an encryption operation is in progress (isEncryptionOperationInProgress), mirroring ImmediateUploadService, so a WS notification can't trigger a download/decrypt while keys or a full-state import are mid-flight (e.g. password change, which does not hold the cycle guard). Read via lazyInject() to break the DI cycle (SyncWrapperService injects WsTriggeredDownloadService to start/stop the WS). |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| static | ||
| styles | ||
| test-helpers | ||
| typings | ||
| _common.scss | ||
| favicon.ico | ||
| hammer-config.class.ts | ||
| index.html | ||
| karma.conf.js | ||
| main.ts | ||
| manifest.json | ||
| polyfills.ts | ||
| styles.scss | ||
| test.ts | ||
| tsconfig.app.json | ||
| tsconfig.spec.json | ||
| tsconfig.worker.json | ||