
Zitat von
tomsel:
Begründung?
Zum Beispiel:

Zitat von
MaBuSE:
Delphi-Quellcode:
procedure TForm2.FormClose(Sender: TObject; var Action: TCloseAction);
begin
Action := caFree;
MyInstance^ := nil;
end;
...man muss sicherstellen, dass der Zeiger noch gültig ist. In dem Projekt ist dies sichergestellt, insofern kann man sich hier darauf verlassen...