fix crash in retry
This commit is contained in:
@@ -149,7 +149,8 @@ namespace OpenRA.Network
|
|||||||
GC.SuppressFinalize( this );
|
GC.SuppressFinalize( this );
|
||||||
|
|
||||||
t.Abort();
|
t.Abort();
|
||||||
socket.Client.Close();
|
if (socket != null)
|
||||||
|
socket.Client.Close();
|
||||||
using( new PerfSample( "Thread.Join" ))
|
using( new PerfSample( "Thread.Join" ))
|
||||||
t.Join();
|
t.Join();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user