Save on storage change and deferred save, part 3
Insert calls to saveOnDisk and deferSaveOnDisk
This commit is contained in:
parent
891723b7b9
commit
b0f1c85cd8
|
@ -345,6 +345,7 @@ function start()
|
|||
}
|
||||
storage.ClearURLsData = JSON.parse(storage.ClearURLsData);
|
||||
toObject(storage.ClearURLsData);
|
||||
saveOnDisk(['ClearURLsData', 'dataHash', 'hashStatus']);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -777,5 +778,6 @@ function start()
|
|||
"timestamp": Date.now()
|
||||
}
|
||||
);
|
||||
deferSaveOnDisk('log');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user