Bug 1714573 improved the deletion of the profile directory's content to happen before we unlock the profile. In doing so, we might end up with a list of undeleted files now (undeleted for whatever reasons, which might be outside of our control like antivirus or other scanners). In order to reduce the potential for leaks further, we want to retry their deletion after a short timeout for several times before giving up.
Bug 1715742 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Bug 1714573 improved the deletion of the profile directory's content to happen before we unlock the profile. In doing so, we might end up with a list of undeleted files now (undeleted for whatever reasons, which might be outside of our control like antivirus or other scanners). In order to reduce the potential for leaks further, we want to: - retry their deletion after a short timeout for several times before giving up. - [report undeleted files always and enable a relative assertion](https://searchfox.org/mozilla-central/rev/3fa5cc437a4937c621ea068ba5dc246f75831633/toolkit/profile/nsToolkitProfileService.cpp#191-205)