fix crash in retry

This commit is contained in:
Chris Forbes
2010-08-03 20:40:27 +12:00
parent 40b16e33ba
commit 0f20133af0

View File

@@ -149,7 +149,8 @@ namespace OpenRA.Network
GC.SuppressFinalize( this );
t.Abort();
socket.Client.Close();
if (socket != null)
socket.Client.Close();
using( new PerfSample( "Thread.Join" ))
t.Join();
}