[Lazarus] FreeSparta commits + a memory leak

Sven Barth pascaldragon at googlemail.com
Tue Jul 14 20:23:31 CEST 2015


Am 14.07.2015 20:11 schrieb "Michael Van Canneyt" <michael at freepascal.org>:
>
>
>
> On Tue, 14 Jul 2015, Maciej Izak wrote:
>
>> 2015-07-14 18:30 GMT+02:00 Maciej Izak <hnb.code at gmail.com>:
>>
>> execution order of initialization/finalization is not guaranteed
>>
>>
>> initialization section in LazIDEIntf was executed before initialization
in PropEdits so PropertyEditorMapperList was created twice. Sometimes
compiler can change execution order of
>> initialization/finalization section (depending on uses section).
>
>
> The uses section is the ONLY thing that determines the order.
> It's completely deterministic.
>

Deterministic yes, but not easily derivable (and also quite easy to change
by accident), because /all/ uses sections need to be taken into account.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150714/c7d39fd8/attachment-0003.html>


More information about the Lazarus mailing list