mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
Flush message counter on shutdown
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user