Changeset 2768


Ignore:
Timestamp:
7/3/2012 4:34:14 AM (2 years ago)
Author:
lowjoel
Message:

Fix the idempotence of RemoteExecutorServer?.Dispose(bool)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/EraserService/Eraser.Manager/RemoteExecutor.cs

    r2767 r2768  
    9191            { 
    9292                ServerChannel.StopListening(null); 
    93                 GlobalMutex.Close(); 
    94                 GlobalMutex = null; 
     93                if (GlobalMutex != null) 
     94                { 
     95                    GlobalMutex.Close(); 
     96                    GlobalMutex = null; 
     97                } 
    9598            } 
    9699 
Note: See TracChangeset for help on using the changeset viewer.