Delete Email Tempfiles at successful indexing and at program end

This commit is contained in:
Jonathan Jenne 2021-08-23 14:29:10 +02:00
parent 0c850a11fc
commit 8c5927530d
2 changed files with 3 additions and 1 deletions

View File

@ -2740,7 +2740,7 @@ Public Class frmIndex
MsgBox("All files were successfully processed through Multiindexing", MsgBoxStyle.Information, "Success")
End If
'DTACTUAL_FILES.Clear()
EMAIL.Clear_TempFiles()
DocumentViewer1.CloseDocument()
DocumentViewer1.Done()

View File

@ -254,6 +254,8 @@ Public Class frmStart
MsgBox("Unexpected Error in Closing Application: " & vbNewLine & ex.Message, MsgBoxStyle.Critical)
End Try
EMAIL.Clear_TempFiles()
'TempDateien löschen
For Each oFile In TEMP_FILES
Try