mirror of
https://github.com/claunia/osrepodbmgr.git
synced 2025-12-16 19:14:25 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user