rem: removeEventListener('messagepane-loaded', imipOnLoad, true); removeEventListener('messagepane-unloaded', imipOnUnload, true); var observerService = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); observerService.removeObserver(onItipItem, "onItipItemCreation"); 
add: removeEventListener("messagepane-loaded", imipOnLoad, true); removeEventListener("messagepane-unloaded", imipOnUnload, true);  var observerSvc = Cc["@mozilla.org/observer-service;1"]. getService(Ci.nsIObserverService); observerSvc.removeObserver(onItipItem, "onItipItemCreation");  
context: function imipOnUnload(){    removeEventListener('messagepane-loaded', imipOnLoad, true);    removeEventListener('messagepane-unloaded', imipOnUnload, true);    var observerService = Components.classes["@mozilla.org/observer-service;1"]                          .getService(Components.interfaces.nsIObserverService);    observerService.removeObserver(onItipItem, "onItipItemCreation");    gItipItem = null;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/79e6cc1011da92ae3fd9afc215d83ee3c14439b2/imip-bar.js/buggy/calendar/lightning/content/imip-bar.js