diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-01 22:09:44 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-01 22:09:44 +0200 |
| commit | d935594d14eb65b55db0d4e96d66a7404f2130d0 (patch) | |
| tree | 31f66bea5886868157a849deace503b0ba23a9e1 /src | |
| parent | 29e49d4c9eb854325644b7efaebb1680ffbb49b2 (diff) | |
Remove outdated assert
If you clear the list of packages while the proxy is active
you can end up having removed a package before it was
finished - this is fine and should not trigger an assert
Diffstat (limited to 'src')
| -rw-r--r-- | src/monitor-gui.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/monitor-gui.cc b/src/monitor-gui.cc index fa40e42..7cb6ab3 100644 --- a/src/monitor-gui.cc +++ b/src/monitor-gui.cc @@ -198,7 +198,6 @@ public: size_t package_data(uint32_t id, char const* data, size_t size, bool last) { auto it = open_.find(id); if (it == open_.end()) { - assert(false); return std::string::npos; } auto const index = it->second; |
