[Gambas-user] Is it possible to unload and reload components and classes

Benoît Minisini g4mba5 at gmail.com
Thu Mar 12 00:40:12 CET 2020


Le 11/03/2020 à 23:25, Brian G a écrit :
> Is it possible to unload a class/Component  and reload(with fixes) it 
> without restarting the app.
> 
> I see there is an unload inside component.c but it's not public.
> 
> if there are no references to the class of course?
> 
> Can anyone help me understand this. Please.
> 
> Thank You
> Brian G
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 

It's not possible to unload a component. Because, for example, another 
component loaded after may have overridden a class of that component. 
But there are other reasons.

Regards,

-- 
Benoît Minisini


More information about the User mailing list