aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-11-16 17:05:28 -0500
committerDeterminant <[email protected]>2018-11-16 17:05:28 -0500
commitb27216a50bd6566b6fd9203d3acf191005ae5763 (patch)
tree48dd5cc4cf6660bb9b0aff6820f7fe402ebe2c96 /src
parentb84497791d19d90793c758c7d8e88e57c9d142e6 (diff)
clean up code
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);
}