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

brian brian at westwoodsvcs.com
Thu Mar 12 00:46:16 CET 2020


Thanks




Get Outlook for Android







On Wed, Mar 11, 2020 at 4:41 PM -0700, "Benoît Minisini" <g4mba5 at gmail.com> wrote:










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

----[ http://gambaswiki.org/wiki/doc/netiquette ]----





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200311/454ee668/attachment.html>


More information about the User mailing list