mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 06:05:37 +07:00
Save on storage change and deferred save, part 3
Insert calls to saveOnDisk and deferSaveOnDisk
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user