[fpc-devel] Initialize/Finalize management operators and Default intrinsic

Sven Barth pascaldragon at googlemail.com
Wed Apr 13 22:01:22 CEST 2016


On 13.04.2016 18:57, Maciej Izak wrote:
> 2016-04-13 15:24 GMT+02:00 Maciej Izak <hnb.code at gmail.com
> <mailto:hnb.code at gmail.com>>:
> 
>     I think I have other solution (that also can help to solve old
>     problems). What is needed is new section like
>     "managementinitialization" and "managementfinalization" (to
>     complement "initialization"/"finalization" with a little different
>     logic).
> 
> 
> Even more. In Delphi lack of
> managementinitialization/managementfinalization is serious problem when
> package is unloaded. (Is hard to clean up things in right order for
> complicated dependencies... sometimes is almost impossible to do it
> right...). Using new sections can fix many issues!

I doubt that.

Regards,
Sven




More information about the fpc-devel mailing list