Revert PR7009
This commit is contained in:
parent
a8b0104923
commit
052017e189
2 changed files with 5 additions and 15 deletions
|
@ -174,8 +174,8 @@ struct KernelCore::Impl {
|
|||
{
|
||||
std::lock_guard lk(registered_in_use_objects_lock);
|
||||
if (registered_in_use_objects.size()) {
|
||||
for (auto thread : registered_in_use_objects) {
|
||||
thread->Close();
|
||||
for (auto& object : registered_in_use_objects) {
|
||||
object->Close();
|
||||
}
|
||||
registered_in_use_objects.clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue