Ensure that delete logs timeout does not run after resolution
This commit is contained in:
parent
4e43459d34
commit
4e6c415ad8
5 changed files with 13 additions and 16 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue