Mattias Gaertner via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am Do., 25. Mai 2023, 08:23:
> On Thu, 25 May 2023 07:55:39 +0200 > Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > > >[...] > > But this is what "managed type" *means*: that the compiler and RTL > > will make sure that it's correctly freed as long as nothing > > unexpected happens. > > ... and exceptions are expected. > Depends on the circumstances: in code with disabled implicit exception frames, but managed types exceptions are to be considered unexpected. But otherwise they are indeed expected. > Maybe better: As long as the user does not break the rules. > Agreed. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal