[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3185: unable to close windows


http://gambaswiki.org/bugtracker/edit?object=BUG.3185&from=L21haW4-

Comment #7 by steve G:

I do not seem to find a form_free in there. granted I can make that but it does not trigger and was not in the options.

if I try form._free I see it but the IDE sees it as an error

I checked with AI and it suggested     form2.hide   then  form2=null  which seems to work but not sure if it is correct and actually destroys the window. Otherwise if it does not it will start a memory leak in my program from the window being recreated often.

Please keep in mind that prior to one of the last 2 updates it worked just with the form2.close inside the form1_close event.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----

References:
[Gambas-bugtracker] Bug #3185: unable to close windows<bugtracker@xxxxxxxxxxxxxx>