DRTVWR-476: make printActiveCoroutines() output slightly clearer.

For the main coroutine on each thread, show the 'main0' (or whatever) name
instead of the empty-string name.
master
Nat Goodspeed 2019-12-18 15:54:00 -05:00
parent 1bd2a91d00
commit be662c65ca
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ void LLCoros::printActiveCoroutines(const std::string& when)
{
F64 life_time = time - cd.mCreationTime;
LL_CONT << LL_NEWLINE
<< cd.mName << ' ' << cd.mStatus << " life: " << life_time;
<< cd.getKey() << ' ' << cd.mStatus << " life: " << life_time;
}
LL_CONT << LL_ENDL;
LL_INFOS("LLCoros") << "-----------------------------------------------------" << LL_ENDL;