Do not crash if temporary files cannot be removed. Race conditions

between the extract thread and the remove thread can happen.
This commit is contained in:
2017-05-17 06:53:21 +01:00
parent 3c5c10f75a
commit 791ac6d872

View File

@@ -1315,6 +1315,12 @@ namespace osrepodbmgr.Core
Finished();
}
}
catch(System.IO.IOException)
{
// Could not delete temporary files, do not crash.
if(Finished != null)
Finished();
}
catch(Exception ex)
{
if(Debugger.IsAttached)