close server socket on exit

This commit is contained in:
Benjamin Sergeant committed 2019-01-24 21:16:32 -08:00
1 parent ea219e3ddd
commit 75d01c0c11
5 files changed
+31 -27

No files matched your search

+3 -1
View File
@@ -162,7 +162,9 @@ namespace ix
{
if (pollResult == PollResultType_Timeout)
{
sendPing(kHeartBeatPingMessage);
std::stringstream ss;
ss << kHeartBeatPingMessage << "::" << _heartBeatPeriod << "s";
sendPing(ss.str());
return;
}