summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:46:23 +0000
committerfcolin2007-02-01 09:46:23 +0000
commit3b7c1a2a262a67d7fee4e259ea9ade236f2be253 (patch)
treee3aa03806acea1da9310f2f1dc45f668a913ba2e /CSharp
parent9c2e3f136a5568911cb61e71d35e8d170f99a01c (diff)
downloadivy-csharp-3b7c1a2a262a67d7fee4e259ea9ade236f2be253.zip
ivy-csharp-3b7c1a2a262a67d7fee4e259ea9ade236f2be253.tar.gz
ivy-csharp-3b7c1a2a262a67d7fee4e259ea9ade236f2be253.tar.bz2
ivy-csharp-3b7c1a2a262a67d7fee4e259ea9ade236f2be253.tar.xz
Utilisateur : Fcolin Date : 13/11/03 Heure : 16:02 Archivé dans $/EScribe/Ivy Commentaire: (vss 14)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index dbf8ef1..31ccdd5 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/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;
}