From b4c46119c7705448afe94ce0b69a75e8a70e20bd Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Mon, 30 Jul 2012 02:05:49 +0000 Subject: [PATCH] Fix for last checkin. --- source2/Debug/Cosmos.Debug.Common/PipeClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source2/Debug/Cosmos.Debug.Common/PipeClient.cs b/source2/Debug/Cosmos.Debug.Common/PipeClient.cs index 1e86f270c..07e6a1c12 100644 --- a/source2/Debug/Cosmos.Debug.Common/PipeClient.cs +++ b/source2/Debug/Cosmos.Debug.Common/PipeClient.cs @@ -43,12 +43,12 @@ namespace Cosmos.Debug.Common { // String[] listOfPipes = System.IO.Directory.GetFiles(@"\.\pipe\"); // or maybe not - what we have seems to work just fine... - mPipe.Connect(500); + xPipe.Connect(500); } catch (TimeoutException ex) { - mPipe.Close(); + xPipe.Close(); return; } - mWriter = new StreamWriter(mPipe); + mWriter = new StreamWriter(xPipe); // Only set mPipe if we are truly ready. Other code can check it. mPipe = xPipe; }