close server socket on exit
This commit is contained in:
1 parent
ea219e3ddd
commit
75d01c0c11
5 files changed
+31
-27
No files matched your search
@@ -162,7 +162,9 @@ namespace ix
|
||||
{
|
||||
if (pollResult == PollResultType_Timeout)
|
||||
{
|
||||
sendPing(kHeartBeatPingMessage);
|
||||
std::stringstream ss;
|
||||
ss << kHeartBeatPingMessage << "::" << _heartBeatPeriod << "s";
|
||||
sendPing(ss.str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user