summaryrefslogtreecommitdiff
path: root/common/modules/storage.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/storage.jsm')
-rw-r--r--common/modules/storage.jsm2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/modules/storage.jsm b/common/modules/storage.jsm
index b41e86cf..64a7d7f2 100644
--- a/common/modules/storage.jsm
+++ b/common/modules/storage.jsm
@@ -152,6 +152,8 @@ var Storage = Module("Storage", {
},
cleanup: function () {
+ this.saveAll();
+
for (let key in keys(this.keys)) {
if (this[key].timer)
this[key].timer.flush();