internal static void DisconnectPipe() { if (pipe != null) { log.Debug("Disconnecting from named pipe in Program.DisconnectPipe()"); ThreadPool.QueueUserWorkItem(state => pipe.Disconnect()); } }
internal static void DisconnectPipe() { if (pipe != null) { log.Debug("Disconnecting from named pipe in Program.DisconnectPipe()"); System.Threading.ThreadPool.QueueUserWorkItem((WaitCallback) delegate(object o) { pipe.Disconnect(); }); } }