do not attach empty thread group

This commit is contained in:
Sema Checherinda 2023-03-03 15:21:53 +01:00
parent bc107c70fa
commit da4f2bd923
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ MemoryTracker::~MemoryTracker()
String MemoryTracker::getDebugLog() const
{
return fmt::format("MemoryTracker(addr {} level {} peak {} ammount {})",
return fmt::format("MemoryTracker(addr {} level {} peak {} amount {})",
size_t(this),
magic_enum::enum_name(level),
ReadableSize(getPeak()),

View File

@ -28,7 +28,7 @@ ThreadGroupSwitcher::~ThreadGroupSwitcher()
return;
CurrentThread::detachGroup();
CurrentThread::attachTo(prev_thread_group);
CurrentThread::attachToGroup(prev_thread_group);
}
MergeListElement::MergeListElement(