12-21-2021, 09:37 PM
I have tested this. CrossTalk will keep a reference to it until free is called.
If free is not called then the Delphi Stub is never freed and the .Net object is never garbage collected.
If free is not called then the Delphi Stub is never freed and the .Net object is never garbage collected.