Loading
Bug 1398357: Part 1 - Fix removal of LocaleService preference observers. r=gandalf
By the time the LocaleService destructor is called, by definition sInstance has been cleared and its preference observers have been removed, since both are strong references. In practice, this doesn't seem to cause trouble, but it does lead to worrying warnings at shutdown in debug builds, which are annoying red herrings when debugging other issues. MozReview-Commit-ID: IalOigr2GWN --HG-- extra : rebase_source : f86a8e81b91c639dedaca85e5bc3b53d54e01645 extra : histedit_source : 643b76de0d29ca4890ac4dd4175259989a63688e