Merge pull request #22591 from nvartolomei/nv/out-init-check

Try flush write buffer only if it is initialized
This commit is contained in:
alexey-milovidov 2021-04-05 04:32:54 +03:00 committed by GitHub
commit f78c846bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,7 @@ TCPHandler::~TCPHandler()
try
{
state.reset();
if (out)
out->next();
}
catch (...)