mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Try abort on current thread join.
This commit is contained in:
parent
ad3b324382
commit
2ddc55a92a
@ -178,7 +178,10 @@ public:
|
||||
func = std::forward<Function>(func),
|
||||
args = std::make_tuple(std::forward<Args>(args)...)]() mutable /// mutable is needed to destroy capture
|
||||
{
|
||||
SCOPE_EXIT(state->event.set());
|
||||
SCOPE_EXIT(
|
||||
state->thread_id = std::thread::id();
|
||||
state->event.set();
|
||||
);
|
||||
|
||||
state->thread_id = std::this_thread::get_id();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user