Re: Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Mon, 26 May 2008 11:30:18 -0500
Ivan Levashew wrote:
Skybuck Flying пишет:Are dynamic arrays in dynamic array of records automatically cleaned up when dynamic array of records is nilled ?
Yes.
Perhaps you may encounter some bugs when global variables defined right
in the "Program" unit are not finalized, but there were no any other
problem here.
You're describing bug 10689. The workaround is to initialize the global variable when you declare it. Supposedly, it's fixed, but maybe only for interfaces and not for dynamic arrays. I only tested and reported it for interfaces.
http://qc.codegear.com/wc/qcmain.aspx?d=10689
--
Rob
.
- References:
- Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- From: Skybuck Flying
- Re: Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- From: Ivan Levashew
- Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- Prev by Date: Re: Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- Next by Date: Idea: Recurse keyword.
- Previous by thread: Re: Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- Next by thread: Re: Auto cleanup of dynamic array of Trecord.DynamicArray when first is nilled ?
- Index(es):
Relevant Pages
|