Browse Source

Empty out the queue of messages we still need to process at shutdown().

1.1.101
Jorg Knobloch 1 year ago
parent
commit
1e39169096
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      addon/content/pEpForThunderbird.js

+ 3
- 0
addon/content/pEpForThunderbird.js View File

@ -181,6 +181,9 @@ class pEpForThunderbird extends pEp {
// Unregister folder listener.
MailServices.mfn.removeListener(this);
// Empty out the queue.
this.msgQueue = [];
Object
.values(this.factories)
.map((factory) => factory.unregister());


Loading…
Cancel
Save