diff options
author | fcolin | 2007-02-01 09:57:49 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:57:49 +0000 |
commit | 6df0d14a1bddb07d96a03a0ac166beb948ca8a4d (patch) | |
tree | ed48700fbedefaade1712f4770b382bfc07e8737 /CSharp/Ivy/IvyPPC/IvyClient.cs | |
parent | 65be617982f9fcce82c58dcccb8c45c2a8e16189 (diff) | |
download | ivy-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.cs | 4 |
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;
}
|