Skip to content

Commit 54980be

Browse files
committed
fix: set Firefox background page to persistent
The background page was getting terminated too early, causing missed heartbeats and data loss. Setting persistent: true ensures all async operations complete properly. Fixes #137
1 parent 59f5782 commit 54980be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"background": {
2222
"{{chrome}}.service_worker": "src/background/main.ts",
2323
"{{firefox}}.scripts": ["src/background/main.ts"],
24-
"{{firefox}}.persistent": false
24+
"{{firefox}}.persistent": true
2525
},
2626

2727
"{{firefox}}.permissions": [

0 commit comments

Comments
 (0)