server missing channel onClose

This commit is contained in:
Michael Davidsaver
2020-04-10 11:08:44 -07:00
parent dd3706aa0f
commit bcea4f032a
4 changed files with 24 additions and 12 deletions
+3
View File
@@ -135,6 +135,9 @@ void ServerChannel_shutdown(const std::shared_ptr<ServerChan>& chan)
}
chan->opByIOID.clear();
if(chan->onClose)
chan->onClose("");
}
void ServerChannelControl::close()