diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-07 21:57:39 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-07 21:57:39 +0200 |
| commit | a3a7cb77503bed555f6c2f2b03e42773979d4385 (patch) | |
| tree | e65196683c6fc7cfad22e99087dfaa42d2aff243 | |
| parent | cfad3bb5427fc10ad305778b60d5385ed1cc954d (diff) | |
Fix Protocols::clear()
| -rw-r--r-- | src/protocols.cc | 1 |
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(); |
