debugger: reusing the code of stopping the initialization process

git-svn-id: trunk@61773 -
This commit is contained in:
dmitry 2019-08-28 03:09:52 +00:00
parent 962dcfc053
commit 50b2c4921c
2 changed files with 1 additions and 5 deletions

View File

@ -240,11 +240,7 @@ begin
if ipkeep then begin
srv := TGDBMIServerDebugger(FTheDebugger);
if Assigned(srv.InitProc) then begin
srv.InitProc.Terminate(0);
srv.InitProc.Free;
srv.InitProc := nil;
end;
srv.StopInitProc;
srv.InitProc := ip
end else
ip.Free;

Binary file not shown.