Flush message counter on shutdown
This commit is contained in:
parent
bd47720864
commit
7a5385e00a
3 changed files with 21 additions and 4 deletions
|
@ -618,6 +618,9 @@ export async function startApp(): Promise<void> {
|
|||
window.Events = createIPCEvents({
|
||||
shutdown: async () => {
|
||||
window.log.info('background/shutdown');
|
||||
|
||||
window.Signal.Util.flushMessageCounter();
|
||||
|
||||
// Stop background processing
|
||||
AttachmentDownloads.stop();
|
||||
if (idleDetector) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue