Merge pull request #55553 from ClickHouse/another-promise-fix-3

Avoid setting same promise twice
This commit is contained in:
robot-clickhouse-ci-2 2023-10-12 17:29:01 +02:00 committed by GitHub
commit 299845b422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,7 @@ void CreatingSetsTransform::work()
try
{
promise_to_build->set_exception(std::current_exception());
promise_to_build.reset();
}
catch (...)
{