|
@@ -136,7 +136,7 @@ void UdpClientImpl::CheckDeadline()
|
|
|
{
|
|
{
|
|
|
if (m_deadline.expires_at() <= std::chrono::system_clock::now())
|
|
if (m_deadline.expires_at() <= std::chrono::system_clock::now())
|
|
|
{
|
|
{
|
|
|
- m_answerSocket.cancel();
|
|
|
|
|
|
|
+ m_answerSocket.close();
|
|
|
m_deadline.expires_at(asio::system_timer::time_point(std::chrono::system_clock::duration::max()));
|
|
m_deadline.expires_at(asio::system_timer::time_point(std::chrono::system_clock::duration::max()));
|
|
|
}
|
|
}
|
|
|
|
|
|