File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -274,14 +274,12 @@ class asio_connection_pool
274
274
template <typename TimeoutHandler>
275
275
void start_pool_timer (const TimeoutHandler &handler)
276
276
{
277
- // std::lock_guard<std::mutex> lg(m_pool_timer_mutex);
278
277
m_pool_timer.expires_from_now (boost::posix_time::milliseconds (m_pool_timeout_secs * 1000 ));
279
278
m_pool_timer.async_wait (handler);
280
279
}
281
280
282
281
void cancel_pool_timer ()
283
282
{
284
- // std::lock_guard<std::mutex> lg(m_pool_timer_mutex);
285
283
m_pool_timer.cancel ();
286
284
}
287
285
@@ -355,9 +353,7 @@ class asio_connection_pool
355
353
std::mutex m_connections_mutex;
356
354
357
355
const int m_pool_timeout_secs;
358
- std::mutex m_pool_timer_mutex;
359
356
boost::asio::deadline_timer m_pool_timer;
360
- // std::atomic<int> m_use_count;
361
357
int m_use_count;
362
358
};
363
359
You can’t perform that action at this time.
0 commit comments