Skip to content

Commit c058947

Browse files
authored
fix: observer bug (#140)
1 parent 58abfc9 commit c058947

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/electron-chrome-extensions/src/browser-action.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const injectBrowserAction = () => {
6262

6363
if (count === 0) {
6464
invoke('browserAction.removeObserver', partition)
65+
observerCounts.delete(partition)
6566
}
6667
},
6768
}

0 commit comments

Comments
 (0)