rem: if (currentAutocompleteDirectory) RemoveDirectorySettingsObserver(currentAutocompleteDirectory); msgCompose.UnregisterStateListener(stateListener); 
add: if (gCurrentAutocompleteDirectory) RemoveDirectorySettingsObserver(gCurrentAutocompleteDirectory); gMsgCompose.UnregisterStateListener(stateListener); 
context: function ComposeUnload(){  dump("\nComposeUnload from XUL\n");  RemoveMessageComposeOfflineObserver();    RemoveDirectoryServerObserver(null);    RemoveDirectoryServerObserver("mail.identity." + gCurrentIdentity.key);    if (currentAutocompleteDirectory)       RemoveDirectorySettingsObserver(currentAutocompleteDirectory);  msgCompose.UnregisterStateListener(stateListener);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/fc756976caf9a570751ca43fe3a185e7c7682a88/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js