Skip to content

Can not unwatch storage when it is already onInvalidated #903

Answered by aklinker1
1natsu172 asked this question in Q&A
Discussion options

You must be logged in to vote

It should be fine to leave it. Listeners stop working once the context is invalidated. Not sure if they're removed or not either.

We should update storage to use browser.storage?.xxx when removing listeners, just to be safe

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aklinker1
Comment options

Answer selected by 1natsu172
@1natsu172
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants