From bf82e8c0df5fd4dc08805173afa65baebb4f2f1c Mon Sep 17 00:00:00 2001 From: ANYKS Date: Sat, 5 Oct 2024 23:30:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D0=BC=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20?= =?UTF-8?q?=D1=82=D0=B0=D0=B9=D0=BC=D0=B5=D1=80=D0=BE=D0=B2=20=D0=BA=D0=BB?= =?UTF-8?q?=D0=B8=D0=B5=D0=BD=D1=82=D0=B0=20=D0=B8=20=D1=81=D0=B5=D1=80?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/client.cpp | 2 +- src/core/server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/client.cpp b/src/core/client.cpp index e729342a..eb297c19 100644 --- a/src/core/client.cpp +++ b/src/core/client.cpp @@ -596,7 +596,7 @@ void awh::client::Core::createTimeout(const uint64_t bid, const time_t msec) noe // Выполняем блокировку потока const lock_guard lock(this->_mtx.receive); // Выполняем создание нового таймаута - this->_timeouts.emplace(bid, (tid = this->_timer.timeout(msec))); + this->_receive.emplace(bid, (tid = this->_timer.timeout(msec))); } // Выполняем добавление функции обратного вызова this->_timer.set (tid, std::bind(static_cast (&core_t::close), this, bid)); diff --git a/src/core/server.cpp b/src/core/server.cpp index 516ef9cf..9eba784d 100644 --- a/src/core/server.cpp +++ b/src/core/server.cpp @@ -1011,7 +1011,7 @@ void awh::server::Core::createTimeout(const uint16_t sid, const uint64_t bid, co // Выполняем блокировку потока const lock_guard lock(this->_mtx.receive); // Выполняем создание нового таймаута - this->_timeouts.emplace(bid, (tid = this->_timer->timeout(msec))); + this->_receive.emplace(bid, (tid = this->_timer->timeout(msec))); } // Выполняем добавление функции обратного вызова this->_timer->set (tid, std::bind(static_cast (&core_t::close), this, bid));