@@ -384,6 +384,7 @@ void TcpTransport::triggerBufferedAmount(size_t amount) {
}
void TcpTransport::process(PollService::Event event) {
+ auto self = shared_from_this();
try {
switch (event) {
case PollService::Event::Error: {