fixtypre in checkin for bug 413296: remove observers on shutdown or window close.

git-svn-id: svn://10.0.0.236/trunk@246453 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mvl%exedo.nl 2008-02-25 19:45:00 +00:00
parent b5b0d32635
commit 6e94a1b436

View File

@ -549,7 +549,7 @@ calCalendarManager.prototype = {
//dump("adding [" + this.mDB.lastInsertRowID + "]\n");
//this.mCache[this.mDB.lastInsertRowID] = calendar;
this.mCache[calendar.id] = calendar;
this.mCalObserver[calendar.id] = newObserver;
this.mCalObservers[calendar.id] = newObserver;
// Set up statistics
if (calendar.getProperty("requiresNetwork") !== false) {