jj: exit thread for faster closing

This commit is contained in:
Jonathan Jenne 2018-06-26 17:13:39 +02:00
parent 531fba3cbc
commit dd19812cbf

View File

@ -83,7 +83,7 @@ Public NotInheritable Class frmSplash
' Bei Fehler MsgBox anzeigen und Programm beenden
If e.Error IsNot Nothing Then
MsgBox(e.Error.Message, MsgBoxStyle.Critical, "Error while Initializing application")
Application.Exit()
Application.ExitThread()
End If
' Wenn kein Fehler, Splashscreen schließen