Registriert seit: 3. Sep 2023
346 Beiträge
|
AW: Klasse implementiert ein Interface weniger, höherer Speicherverbrauch
20. Dez 2023, 11:19
Hi,
I think, even if IBla4 wasn't needed but its functions is being called, may be one of them return a reference counted class/object/interface, if such function being called from the object TBla directly then it will be handled as usual class function, but if it was called from something like IBla4 within TBla then reference counted will be invoked and memory will be cleaned earlier, not leaving it hanging there waiting the application to close.
Kas
|