mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
hopefully fix crashing
This commit is contained in:
parent
91a535a2cd
commit
0281573f69
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ namespace HISP.Server
|
||||||
Logger.DebugPrint("Sending keep-alive packet to " + LoggedinUser.Username);
|
Logger.DebugPrint("Sending keep-alive packet to " + LoggedinUser.Username);
|
||||||
byte[] updatePacket = PacketBuilder.CreateKeepAlive();
|
byte[] updatePacket = PacketBuilder.CreateKeepAlive();
|
||||||
SendPacket(updatePacket);
|
SendPacket(updatePacket);
|
||||||
if(keepAliveTimer != null)
|
if(!isDisconnecting && keepAliveTimer != null) // wtf how is this still a problem?
|
||||||
keepAliveTimer.Change(oneMinute, oneMinute);
|
keepAliveTimer.Change(oneMinute, oneMinute);
|
||||||
}
|
}
|
||||||
private void minuteTimerTick(object state)
|
private void minuteTimerTick(object state)
|
||||||
|
|
Loading…
Add table
Reference in a new issue