From b27216a50bd6566b6fd9203d3acf191005ae5763 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 16 Nov 2018 17:05:28 -0500 Subject: clean up code --- src/conn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/conn.cpp b/src/conn.cpp index ca13619..5967339 100644 --- a/src/conn.cpp +++ b/src/conn.cpp @@ -138,11 +138,11 @@ void ConnPool::Conn::worker_terminate() { }); } -void ConnPool::Conn::disp_terminate(bool blocking) { +void ConnPool::Conn::disp_terminate() { if (worker && !worker->is_dispatcher()) worker->get_tcall()->call([conn=self()](ThreadCall::Handle &) { conn->stop(); - }, blocking); + }); else stop(); cpool->remove_conn(fd); } -- cgit v1.2.3-70-g09d2