summaryrefslogtreecommitdiff
path: root/src/protocols.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-07 21:57:39 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-07 21:57:39 +0200
commita3a7cb77503bed555f6c2f2b03e42773979d4385 (patch)
treee65196683c6fc7cfad22e99087dfaa42d2aff243 /src/protocols.cc
parentcfad3bb5427fc10ad305778b60d5385ed1cc954d (diff)
Fix Protocols::clear()
Diffstat (limited to 'src/protocols.cc')
-rw-r--r--src/protocols.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols.cc b/src/protocols.cc
index df7353a..8d3689c 100644
--- a/src/protocols.cc
+++ b/src/protocols.cc
@@ -135,6 +135,7 @@ public:
void clear() override {
std::unique_lock<std::mutex> lock(mutex_);
+ entries_.clear();
cache_.clear();
wanted_ = std::string::npos;
active_.clear();