[Lazarus] Memory leak in TThread class

Marcos Douglas md at delfire.net
Wed Oct 6 21:17:45 CEST 2010


On Wed, Oct 6, 2010 at 3:24 PM, Sergei Gorelkin <sergei_gorelkin at mail.ru> wrote:
> Marcos Douglas wrote:
>
>> Well, the problem was fixed.
>> Bug reporter: http://bugs.freepascal.org/view.php?id=16884
>> Solution: http://cia.vc/stats/project/fpc/.message/b8ef19
>>
> Unfortuately, not. Issue #16884 was a race condition which was causing the
> thread to start executing before it was completely initialized by its
> constructor. The current issue is a resource leak that happens when a
> TThread is created and then destroyed before executing any thread code.

Oh man, sorry. My mistake.  :(

Marcos Douglas




More information about the Lazarus mailing list