Skip to content

fix: Add lock to prevent double consent tab#148

Merged
spalmurray merged 2 commits intomainfrom
spalmurray/lock-consent-tab
Jul 21, 2025
Merged

fix: Add lock to prevent double consent tab#148
spalmurray merged 2 commits intomainfrom
spalmurray/lock-consent-tab

Conversation

@spalmurray
Copy link
Contributor

@spalmurray spalmurray commented Jul 21, 2025

The consent tab seems to be opening twice, once for update and once for install. This lock prevents that from happening.

Tested to make sure it probably won't have a race condition where both gets happen before the first set. It seems to work fine.

@spalmurray spalmurray changed the title Add lock to prevent double consent tab fix: Add lock to prevent double consent tab Jul 21, 2025
@codecov
Copy link

codecov bot commented Jul 21, 2025

Bundle Report

Changes will increase total bundle size by 295 bytes (0.05%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
codecov-browser-extension-array-push 647.91kB 295 bytes (0.05%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: codecov-browser-extension-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
background.js 295 bytes 198.39kB 0.15%

@spalmurray spalmurray merged commit 4386d50 into main Jul 21, 2025
3 checks passed
@spalmurray spalmurray deleted the spalmurray/lock-consent-tab branch July 21, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants