MemLeak with "run without debugging"
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
- Start an app "without debugging" (run menu).
- Exit the IDE, while the process is still running. => Leak
Presumingly in main.pp
function TMainIDE.DoRunProjectWithoutDebug: TModalResult;
...
try
TNotifyProcessEnd.Create(Process, @DoCallRunFinishedHandler);
Process:=nil; // Process is freed by TNotifyProcessEnd
except
...
Only, if the process is still running when the IDE exits, then the mem is not freed.
There may be any number of apps running, and any number of TProcess to be freed.
Mantis conversion info:
- Mantis ID: 38236
- OS: win 10
- OS Build: 10
- Platform: 64bit Intel
- Version: 2.1 (SVN)