From d935594d14eb65b55db0d4e96d66a7404f2130d0 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Tue, 1 Aug 2017 22:09:44 +0200 Subject: 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 --- src/monitor-gui.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/monitor-gui.cc') 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; -- cgit v1.2.3-70-g09d2