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...@gmail.com> > Le 2 janvier 2012 19:57, Benoît Minisini > <gam...@users.sourceforge.net> 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@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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user