Make thread_ids unique

This commit is contained in:
Alexey Milovidov 2022-10-08 02:42:41 +02:00
parent ec5a32f534
commit 2f83d87905

View File

@ -533,7 +533,7 @@ QueryStatusInfo QueryStatus::getInfo(bool get_thread_list, bool get_profile_even
if (get_thread_list) if (get_thread_list)
{ {
std::lock_guard lock(thread_group->mutex); std::lock_guard lock(thread_group->mutex);
res.thread_ids = thread_group->thread_ids; res.thread_ids.assign(thread_group->thread_ids.begin(), thread_group->thread_ids.end());
} }
if (get_profile_events) if (get_profile_events)