mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Ensure that delete logs timeout does not run after resolution
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import * as log from '../logging/log';
|
||||
import { deleteAllLogs } from '../util/deleteAllLogs';
|
||||
|
||||
export async function deleteAllData(): Promise<void> {
|
||||
try {
|
||||
await window.Signal.Logs.deleteAll();
|
||||
await deleteAllLogs();
|
||||
|
||||
log.info('deleteAllData: deleted all logs');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user