fix Connection ownership

Keep alive during bev*() callbacks
This commit is contained in:
Michael Davidsaver
2020-02-29 16:13:18 -08:00
parent 4d7ca87f8a
commit 20acafa963
6 changed files with 16 additions and 4 deletions
+4
View File
@@ -271,6 +271,10 @@ void ServerConn::handle_MESSAGE()
msg.c_str());
}
std::shared_ptr<ConnBase> ServerConn::self_from_this()
{
return shared_from_this();
}
void ServerConn::cleanup()
{