This commit is contained in:
Kruglov Pavel 2023-04-24 19:06:45 +02:00 committed by GitHub
parent c503f6532c
commit 57801b7a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,8 @@ void Connection::disconnect()
try
{
// finalize() can write to socket and throw an exception.
out->finalize();
if (out)
out->finalize();
}
catch (...)
{