Skip to content

Commit

Permalink
Removing EXIT from simulation main function (OpenModelica#12593)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Jun 17, 2024
1 parent 99c80f5 commit b290aeb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions OMCompiler/Compiler/Template/CodegenC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1431,9 +1431,6 @@ template simulationFile(SimCode simCode, String guid, String isModelExchangeFMU)
<%if Flags.isSet(HPCOM) then "terminateHpcOmThreads();" %>
<%if Flags.getConfigBool(Flags.PARMODAUTO) then "dump_times(pm_model);" %>
fflush(NULL);
#if !defined(OMC_DLL_MAIN_DEFINE) /* do not exit, return in DLL mode */
EXIT(res);
#endif
return res;
}

Expand Down

0 comments on commit b290aeb

Please sign in to comment.