rem: var calendarManager = Components.classes["@mozilla.org/calendar/manager;1"].getService(Components.interfaces.calICalendarManager); 
add: var calendarManager = this.calendarManager; 
context:     shutdown: function() {        /* tell people that we're no longer running */        var notifier = Components.classes["@mozilla.org/embedcomp/appstartup-notifier;1"].getService(Components.interfaces.nsIObserver);        notifier.observe(null, "alarm-service-shutdown", null);        if (this.mUpdateTimer) {            this.mUpdateTimer.cancel();            this.mUpdateTimer = null;        }                var calendarManager = Components.classes["@mozilla.org/calendar/manager;1"].getService(Components.interfaces.calICalendarManager);        calendarManager.removeObserver(this.calendarManagerObserver);        for each(var timer in this.mEvents) {            timer.cancel();        }        this.mEvents = {};        var calendars = calendarManager.getCalendars({});        for each(var calendar in calendars) {            this.unobserveCalendar(calendar);        }        this.mRangeStart = null;        this.mRangeEnd = null;        this.mStarted = false;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9f688a3936f9414d4a12731d84c68caf503f750d/calAlarmService.js/buggy/calendar/base/src/calAlarmService.js