fix a bug releasing the decrypted attachment blobs too early

pull/2045/head
Audric Ackermann 4 years ago
parent 894349e710
commit faeb6e206a
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -32,8 +32,6 @@ export const cleanUpOldDecryptedMedias = () => {
countKept++; countKept++;
} }
} }
urlToDecryptedBlobMap.clear();
urlToDecryptingPromise.clear();
window?.log?.info(`Clean medias blobs: cleaned/kept: ${countCleaned}:${countKept}`); window?.log?.info(`Clean medias blobs: cleaned/kept: ${countCleaned}:${countKept}`);
}; };

Loading…
Cancel
Save