mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 02:31:22 +00:00
Fix for last checkin.
This commit is contained in:
parent
73a73ab8e1
commit
b4c46119c7
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue