Remove IndexedDB files after removing IndexedDB database

This commit is contained in:
Scott Nonnenberg 2018-11-01 16:40:19 -07:00
parent 486932048c
commit fb670ad6b9
4 changed files with 27 additions and 4 deletions

View file

@ -297,6 +297,7 @@
await mandatoryMessageUpgrade({ upgradeMessageSchema });
await migrateAllToSQLCipher({ writeNewAttachmentData, Views });
await removeDatabase();
await window.Signal.Data.removeIndexedDBFiles();
window.installStorage(window.newStorage);
await window.storage.fetch();