mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #22591 from nvartolomei/nv/out-init-check
Try flush write buffer only if it is initialized
This commit is contained in:
commit
f78c846bdf
@ -72,7 +72,8 @@ TCPHandler::~TCPHandler()
|
||||
try
|
||||
{
|
||||
state.reset();
|
||||
out->next();
|
||||
if (out)
|
||||
out->next();
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user