修复NetClient的等待主线程的错误
This commit is contained in:
@@ -46,7 +46,7 @@ namespace BITKit.Net
|
||||
private DateTime _now=DateTime.Now;
|
||||
private TimeSpan _interval=TimeSpan.FromSeconds(0.32);
|
||||
|
||||
private byte[] _heartBeat = new byte[] { (byte)NetCommandType.Heartbeat };
|
||||
private readonly byte[] _heartBeat = new byte[] { (byte)NetCommandType.Heartbeat };
|
||||
|
||||
public KCPNetServer()
|
||||
{
|
||||
|
Reference in New Issue
Block a user