mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Fix hanging "Clear All Data" on Windows
This commit is contained in:
committed by
Scott Nonnenberg
parent
03eaa9eb3e
commit
fe505a7f2f
@@ -269,6 +269,9 @@ async function goBackToMainProcess(): Promise<void> {
|
||||
// We don't need to wait for pending queries since they are synchronous.
|
||||
window.log.info('data.goBackToMainProcess: switching to main process');
|
||||
|
||||
// Close the database in the renderer process.
|
||||
await close();
|
||||
|
||||
shouldUseRendererProcess = false;
|
||||
|
||||
// Print query statistics for whole startup
|
||||
|
||||
Reference in New Issue
Block a user