fix: dont abort when deleting one temp file fails
This commit is contained in:
parent
f792a17395
commit
d8dc517d11
@ -254,14 +254,15 @@ Public Class frmStart
|
|||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox("Unexpected Error in Closing Application: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
MsgBox("Unexpected Error in Closing Application: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
'TempDateien löschen
|
'TempDateien löschen
|
||||||
|
For Each oFile In TEMP_FILES
|
||||||
Try
|
Try
|
||||||
For Each _file In TEMP_FILES
|
System.IO.File.Delete(oFile)
|
||||||
System.IO.File.Delete(_file)
|
|
||||||
Next
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
LOGGER.Error(ex)
|
LOGGER.Error(ex)
|
||||||
End Try
|
End Try
|
||||||
|
Next
|
||||||
|
|
||||||
Try
|
Try
|
||||||
IndexForm.DisposeViewer()
|
IndexForm.DisposeViewer()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user