Gracefully shut down database operations before app exit

This commit is contained in:
Scott Nonnenberg 2018-11-05 11:06:12 -08:00
parent 2822f4ce40
commit 6300256a3e
5 changed files with 161 additions and 11 deletions

View file

@ -272,6 +272,10 @@
const clearDataView = new window.Whisper.ClearDataView().render();
$('body').append(clearDataView.el);
},
shutdown: async () => {
await window.Signal.Data.shutdown();
},
};
const currentVersion = window.getVersion();