Codechange: ensure OnConnect() always gets called with a valid socket (#9729)

This should already be the case, but now assert()s will tell us
if this isn't.
This commit is contained in:
Patric Stout
2021-12-04 18:32:06 +01:00
committed by GitHub
parent 802ca4e722
commit 9c36c12c85
4 changed files with 7 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ public:
{
this->handler->connecter = nullptr;
handler->sock = s;
this->handler->sock = s;
}
};