Hi,

Please which is the correct way of closing the application ?

While closing I have randomly some error about some activity which is still 
going on as writing to socket or timer activity...

Besides, even if I close with "QUIT", at a following boot the application 
starts automatically as happens to the applications left open at shut down.

(Debian 5.0.1, Gnome, QT, Gambas 2.14 locally compiled)

Regards
Pino
----------------
PUBLIC SUB mnuQUIT_Click()
  timer1.Enabled = FALSE
  LogServer.Close()
 
  Timer1.Enabled = FALSE ' Disable polling
  TRY CLOSE Sport
   IF Socket1.Status > 0 THEN CLOSE #Socket1
  EXEC ["killall", "rigctld"]
  EXEC ["killall", "xplanet"]
  EXEC ["killall", "tail"]
  EXEC ["killall", "xdx"]
  mnuSTOP_Click()
  EXEC ["killall", "fldigi"]
  FQSOList.Close
  FMain.Close      ' ME
END
------------------


-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to