Neue Absender IK

+ Bei Fehlerhaftem Code wird Dakota Verzeichnis aufgeräumt
This commit is contained in:
2024-10-31 16:18:51 +01:00
parent c77ed30929
commit feff542f85
2 changed files with 5 additions and 2 deletions

View File

@@ -288,10 +288,13 @@ namespace DakotaSender
Returncodes.EvaluateSendCode(rc, out is_dakota_running, out success, out string message);
if (is_dakota_running)
if (!success)
{
FileController.DeleteDakotaFile(file);
}
if (is_dakota_running)
{
throw new Exception();
}