Bug 1806013 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Looks like there is a time frame within which the observer service responds [to calls with an error when in shutdown](https://searchfox.org/mozilla-central/rev/9b8ebf06145feeccf34dc126cf45b07e86556392/xpcom/ds/nsObserverService.cpp#175). I think it should better be just not possible to get an instance such that [checks like this work as expected](https://searchfox.org/mozilla-central/rev/9b8ebf06145feeccf34dc126cf45b07e86556392/js/xpconnect/src/XPCJSRuntime.cpp#789) ?

But yes, this phases seems also late.
Looks like there is a time frame within which the observer service responds [to calls with an error when in shutdown](https://searchfox.org/mozilla-central/rev/9b8ebf06145feeccf34dc126cf45b07e86556392/xpcom/ds/nsObserverService.cpp#175). I think it should better be just not possible to get an instance such that [checks like this work as expected](https://searchfox.org/mozilla-central/rev/9b8ebf06145feeccf34dc126cf45b07e86556392/js/xpconnect/src/XPCJSRuntime.cpp#789) ?

But yes, this phase seems also late.

Back to Bug 1806013 Comment 3