Commit 9d94739
committed
fix: prevent deleted toolbar bookmarks from being reverted by auto-sync
Race condition: when a user deletes a bookmark while a sync is running,
performSync's storeTombstones() overwrites the tombstone created by the
onRemoved listener, causing the follow-up sync to re-add the bookmark
from cloud.
Fix: re-read current tombstones from storage before writing to preserve
any tombstones added concurrently during the sync.1 parent 0fb0d59 commit 9d94739
2 files changed
Lines changed: 1216 additions & 6 deletions
0 commit comments