fix a bug releasing the decrypted attachment blobs too early

This commit is contained in:
Audric Ackermann 2021-11-23 16:18:52 +11:00
parent 894349e710
commit faeb6e206a
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4
1 changed files with 0 additions and 2 deletions

View File

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