Open Bug 760779 Opened 12 years ago

[SeaMonkey (?)] "Exception / NS_ERROR_FAILURE / nsIObserverService.removeObserver / smileApplication.js :: app_observe :: line 1266" (= extApplication.js line 566)

Categories

(SeaMonkey :: General, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: sgautherie, Unassigned)

References

()

Details

After fixing SMILE bug 758102 comment 2, SeaMonkey reports:

http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1338597699.1338600532.4177.gz&fulltext=1
OS X 10.6 comm-central-trunk debug test mochitest-other on 2012/06/01 17:41:39
{
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///components/smileApplication.js :: app_observe :: line 1266"  data: no]
}
on m-b-c suite shutdown.

This is from Toolkit code:

http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/components/exthelper/extApplication.js
{
565       // release our observers
566       this._obs.removeObserver(this, "app-startup");
567       this._obs.removeObserver(this, "final-ui-startup");
568       this._obs.removeObserver(this, "quit-application-requested");
569       this._obs.removeObserver(this, "xpcom-shutdown");
}

Bug 750454 should fix this, by using weak references...
You need to log in before you can comment on or make changes to this bug.