[Gambas-user] Cannot close GUI application

M. Cs. mohareve at ...626...
Tue Jan 3 21:08:33 CET 2012


Thanks for the replies!

Csaba

2012/1/2, Ron <ron at ...1740...>:
> You always get unfreed stuff when using Quit in a GUI project is my
> experience.
>
> In Form_Close()
>
>   ' exit program
>   Main.CloseAll()
>   FMain.Close
>
> END
>
> In CloseAll() I close all file handles, sockets, serial ports and stop
> timers.
> Then FMain.Close does the trick nicely.
>
> Regards,
> Ron_2nd.
> 2012/1/2 Fabien Bodard <gambas.fr at ...626...>
>
>> Le 2 janvier 2012 19:57, Benoît Minisini
>> <gambas at ...1...> a écrit :
>> > Le 02/01/2012 17:03, M. Cs. a écrit :
>> >> The command Quit() won't work in my application, so I cannot terminate
>> >> the process. The GUI disappears, but the process remains. Is there any
>> >> safe way to close a GUI application?
>> >>
>> >> Csaba
>> >>
>> >
>> > Please elaborate. Send me a project so that I can reproduce the problem.
>> > The QUIT instruction aborts the program brutally (almost), so it should
>> > quit!
>>
>> I'm on it ... Bad design... many variables are not freed.
>>
>> It's not a bug
>>
>> >
>> > --
>> > Benoît Minisini
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
>> > complex
>> > infrastructure or vast IT resources to deliver seamless, secure access
>> > to
>> > virtual desktops. With this all-in-one solution, easily deploy virtual
>> > desktops for less than the cost of PCs and save 60% on VDI
>> > infrastructure
>> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>>
>> --
>> Fabien Bodard
>>
>>
>> ------------------------------------------------------------------------------
>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>> infrastructure or vast IT resources to deliver seamless, secure access to
>> virtual desktops. With this all-in-one solution, easily deploy virtual
>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list