diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/proxy.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/proxy.cc b/src/proxy.cc index 522454a..05a53bb 100644 --- a/src/proxy.cc +++ b/src/proxy.cc @@ -282,6 +282,13 @@ public: close_monitor(it.index()); } + if (timeout_) { + looper_->cancel(timeout_); + } + if (new_timeout_) { + looper_->cancel(new_timeout_); + } + if (accept_socket_) { looper_->remove(accept_socket_.get()); } |
