Gracefully shut down database operations before app exit
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user