you have to make sure that there are NO references to the object for it to be garbage collected. this includes listeners - you can use weak listeners when you assign then (look at addEventListener) - it is quite hard to see if something is being collected correctly - you can use a technique like: http://www.danielhai.com/blog/?p=49
On Sat, Nov 1, 2008 at 2:27 AM, Baluta Cristian <[hidden email]> wrote:
instance = null;
On Fri, Oct 31, 2008 at 1:25 PM, Ali Jaya Meilio <[hidden email]> wrote:
Hi list :D
I wonder how to delete instance in haxe.
In as3, it use 'delete' keyword.
What keyword does haxe use?