client info() error delivery

This commit is contained in:
Michael Davidsaver
2020-02-21 11:54:01 -08:00
parent df837b5f32
commit 7d490dc69e
7 changed files with 153 additions and 21 deletions
+8
View File
@@ -123,6 +123,14 @@ void Connection::cleanup()
log_debug_printf(io, "Server %s detach channel '%s' to re-search\n", peerName.c_str(), chan->name.c_str());
}
auto ops = std::move(opByIOID);
for (auto& pair : ops) {
auto op = pair.second.handle.lock();
if(!op)
continue;
op->disconnected(op);
}
// paranoia
pending.clear();
chanBySID.clear();