Created attachment 644914 [details] [diff] [review] Patch For some reason, when I initially wrote that code I assumed that now that Thunderbird has tabs, there's only one messenger window with the same life time as the application, so removing the observers wasn't needed. This is obviously wrong, so here's a patch to fix this. Note: the patch from bug 775105 needs to be applied before this patch.
Comment on attachment 644914 [details] [diff] [review] Patch I'm fine with this - thanks Florian.
Comment on attachment 644914 [details] [diff] [review] Patch This seems like something we want for the initial IM release.
comm-central: https://hg.mozilla.org/comm-central/rev/378040aa810f comm-aurora: https://hg.mozilla.org/releases/comm-aurora/rev/3a5ec8e368d2 comm-beta: https://hg.mozilla.org/releases/comm-beta/rev/e3a652e552f2