Author: remi
Date: 2009-07-31 11:20:54 +0200 (Fri, 31 Jul 2009)
New Revision: 5256

Modified:
   
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
Log:
* Updated exiting method order

Modified: 
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
===================================================================
--- 
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
 2009-07-31 09:13:29 UTC (rev 5255)
+++ 
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
 2009-07-31 09:20:54 UTC (rev 5256)
@@ -436,6 +436,9 @@
 procedure TForm1.ExitApplication(windowsIsShutdown : boolean);
 begin
   try
+    //Stop server
+    if not windowsIsShutdown then
+      TuxUtils.stopServer();
     //Stop connection checker
     exitingFlag := true;
     smartcoreReady := false;
@@ -449,9 +452,7 @@
       begin
         //Remove tray icon
         Form1.DeleteSysTrayIcon;
-        //AppIcon.Free;
-        //Stop server
-        TuxUtils.stopServer();
+        AppIcon.Free;
       end;
     Sleep(100);
   except


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to