aboutsummaryrefslogtreecommitdiff
path: root/src/universe.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-27 10:34:57 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-27 10:34:57 +0200
commita30ac3790edea8329c199c9c42ff4150cf20c8ba (patch)
treeaea060cc17ac6783389e2561e81b3b74c74ab6ad /src/universe.cpp
parent96be015111e2d4b05ae8cb9496b752472e8578a9 (diff)
downloadlanes-a30ac3790edea8329c199c9c42ff4150cf20c8ba.tar.gz
lanes-a30ac3790edea8329c199c9c42ff4150cf20c8ba.tar.bz2
lanes-a30ac3790edea8329c199c9c42ff4150cf20c8ba.zip
More string_view + improved DEBUGSPEW output
Diffstat (limited to 'src/universe.cpp')
-rw-r--r--src/universe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp
index cdb3d72..3d1645f 100644
--- a/src/universe.cpp
+++ b/src/universe.cpp
@@ -354,7 +354,7 @@ void Universe::terminateFreeRunningLanes(lua_State* L_, lua_Duration shutdownTim
354 Lane* _lane{ selfdestructFirst }; 354 Lane* _lane{ selfdestructFirst };
355 if (_lane != SELFDESTRUCT_END) { 355 if (_lane != SELFDESTRUCT_END) {
356 // this causes a leak because we don't call U's destructor (which could be bad if the still running lanes are accessing it) 356 // this causes a leak because we don't call U's destructor (which could be bad if the still running lanes are accessing it)
357 raise_luaL_error(L_, "Zombie thread " STRINGVIEW_FMT " refuses to die!", _lane->debugName.size(), _lane->debugName.data()); 357 raise_luaL_error(L_, "Zombie thread '" STRINGVIEW_FMT "' refuses to die!", _lane->debugName.size(), _lane->debugName.data());
358 } 358 }
359 } 359 }
360} 360}