Here is a patch for the patch I submitted a while back. J  The code was causing the logoff/shutdown process in Windows to take longer than it should because it couldn’t gracefully close the Draco GUI client.

 

Eric J. Smith

 

Index: DracoMonitorForm.cs

===================================================================

RCS file: /cvsroot/draconet/draco/gui/DracoMonitorForm.cs,v

retrieving revision 1.12

diff -u -r1.12 DracoMonitorForm.cs

--- DracoMonitorForm.cs 16 Sep 2004 16:58:24 -0000    1.12

+++ DracoMonitorForm.cs 24 Oct 2004 15:43:18 -0000

@@ -765,7 +765,7 @@

 

            private void frmBuildMonitor_Closing(object sender, System.ComponentModel.CancelEventArgs e)

            {

-                 if (!_exitFlag)

+                 if (_exitFlag == false && this.Visible == true)

                  {

                        this.Hide();

                        e.Cancel = true;

 

Reply via email to