Bug 471788 - 4 TUnit tests leak now, r=dietrich

This commit is contained in:
Marco Bonardo 2009-01-08 00:37:01 +01:00
parent 83a374cd4f
commit aca69f7afa

View File

@ -36,3 +36,10 @@
* ***** END LICENSE BLOCK ***** */
// put cleanup of the bookmarks test here.
// XPCShell doesn't dispatch quit-application, to ensure cleanup we have to
// dispatch it after each test run.
var os = Cc['@mozilla.org/observer-service;1'].
getService(Ci.nsIObserverService);
os.notifyObservers(null, "quit-application-granted", null);
os.notifyObservers(null, "quit-application", null);