[fpc-devel] Need patch for bugs : 0011503 / 0009472

Florian Klaempfl florian at freepascal.org
Thu Jun 19 15:27:39 CEST 2008


Boian Mitov schrieb:
>     Michael,
> 
> I never call Free() on interfaced object. I surely know that if I have 
> used interfaces for the last 10 years or so ;-) .

See my other mail. You do a WriteLock:=FLock.StopLock(); call. Every 
interface is associated with a class instance. With which class instance 
is WriteLock associated?

> What I need is a way to make sure that all the references are gone. This 
> is the first non garbage collected compiler that has prevented me from 
> releasing all the references so far. Delphi, the C++ COM libraries VB 
> etc. they all have behaved in a predictable way. Lazarus is the first 
> surprise for me ;-) . There is always a first time however.
> 
>  With best regards,
>    Boian Mitov
> 
> --------------------------------------------------------------------
> Mitov Software
> http://www.mitov.com
> --------------------------------------------------------------------
> 
> 
> ----- Original Message ----- From: "Michael Van Canneyt" 
> <michael at freepascal.org>
> To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
> Sent: Thursday, June 19, 2008 6:14 AM
> Subject: Re: [fpc-devel] Need patch for bugs : 0011503 / 0009472
> 
> 
>>
>> The Delphi help warns explicitly against this.
>> (see "Using reference counting")
>>
>> Michael.
>> _______________________________________________
>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel 
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 




More information about the fpc-devel mailing list