[Gambas-user] need a little help

Benoit Minisini gambas at ...1...
Sun May 30 09:14:49 CEST 2004


On Sunday 30 May 2004 03:03, Fabien Bodard wrote:
> hi all
>
> I don't remember how to free a class (close)
>
> I've put classes in an array... but how to free them... Just delete the
> entry is not sufficient.
>
> and the _free event don't work in this case....
>
> Fabien
>

You can't explicitely free a object (I think you mixed up class and object so 
I corrected). 

An object is freed when nothing has a reference on it. So check your code to 
see which variable or array or collection has a reference on your objects.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list