summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyClient.cs
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:57:49 +0000
committerfcolin2007-02-01 09:57:49 +0000
commit6df0d14a1bddb07d96a03a0ac166beb948ca8a4d (patch)
treeed48700fbedefaade1712f4770b382bfc07e8737 /CSharp/Ivy/IvyPPC/IvyClient.cs
parent65be617982f9fcce82c58dcccb8c45c2a8e16189 (diff)
downloadivy-csharp-6df0d14a1bddb07d96a03a0ac166beb948ca8a4d.zip
ivy-csharp-6df0d14a1bddb07d96a03a0ac166beb948ca8a4d.tar.gz
ivy-csharp-6df0d14a1bddb07d96a03a0ac166beb948ca8a4d.tar.bz2
ivy-csharp-6df0d14a1bddb07d96a03a0ac166beb948ca8a4d.tar.xz
Utilisateur : Fcolin Date : 13/11/03 Heure : 16:02 Archivé dans $/EScribe/Ivy Commentaire: (vss 14)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index dbf8ef1..31ccdd5 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/IvyClient.cs
@@ -265,12 +265,14 @@ namespace IvyBus
return ;
// Tell Thread to stop.
running = false;
- in_stream.Close();
+ if ( in_stream != null )
+ in_stream.Close();
if ( Thread.CurrentThread != clientThread )
{
// Wait for Thread to end.
clientThread.Join();
}
+
clientThread = null;
}