[Lazarus] Memory leak in TThread class

Sergei Gorelkin sergei_gorelkin at mail.ru
Wed Oct 6 20:24:42 CEST 2010


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.

Regards,
Sergei





More information about the Lazarus mailing list