aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conn.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}