[fpc-pascal] Delegate Interface class does not seem to be referenced counted
tony.whyman at mccallumwhyman.com
Wed Aug 10 16:08:05 CEST 2016
On 10/08/16 15:05, Marco van de Voort wrote:
> The way how Tony passes owner is wrong and that messes up reference
> If in the test he would do TMyclass.Create(Tsomeclass.create); it probably
> would be ok.
But in my test, the code reads:
Intf := TMyClass.Create(TDelegateClass.Create);
So, why didn't this work?
More information about the fpc-pascal