[Gambas-bugtracker] Bug #1404: Object model : Special method "_free" not available anymore / Circular reference dependency
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Aug 25 12:55:51 CEST 2018
http://gambaswiki.org/bugtracker/edit?object=BUG.1404&from=L21haW4-
Comment #1 by Benoît MINISINI:
By logical evidence, you can't use _free to solve circular references. And you must not try to call it explicitly.
If you have to implement the _free method in a class, it usually means that you made something weird in your design. IMOH, The only valid reason of doing that is that your object created a system resource that Gambas does not control, and so you have to free it as soon as the object itself is freed.
Otherwise, please post your programming questions on the mailing-list. This is a bugtracker, for bug reports.
Benoît MINISINI changed the state of the bug to: Abandoned.
More information about the Bugtracker
mailing list