diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-20 17:11:20 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-20 17:11:20 +0200 |
commit | eb090da027012292e8856dc01856cde8880d3467 (patch) | |
tree | 7cd0480536ad52e76d9922a05f926ed4d7eb133f /src/universe.cpp | |
parent | ac8caa415b36c875578c2ad0490965b80be2f37e (diff) | |
download | lanes-eb090da027012292e8856dc01856cde8880d3467.tar.gz lanes-eb090da027012292e8856dc01856cde8880d3467.tar.bz2 lanes-eb090da027012292e8856dc01856cde8880d3467.zip |
Lane::debugName is a std::string_view
Diffstat (limited to 'src/universe.cpp')
-rw-r--r-- | src/universe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp index 52aa368..4f21306 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -357,7 +357,7 @@ void Universe::terminateFreeRunningLanes(lua_State* L_, lua_Duration shutdownTim | |||
357 | Lane* _lane{ selfdestructFirst }; | 357 | Lane* _lane{ selfdestructFirst }; |
358 | if (_lane != SELFDESTRUCT_END) { | 358 | if (_lane != SELFDESTRUCT_END) { |
359 | // this causes a leak because we don't call U's destructor (which could be bad if the still running lanes are accessing it) | 359 | // this causes a leak because we don't call U's destructor (which could be bad if the still running lanes are accessing it) |
360 | raise_luaL_error(L_, "Zombie thread %s refuses to die!", _lane->debugName); | 360 | raise_luaL_error(L_, "Zombie thread %s refuses to die!", _lane->debugName.data()); |
361 | } | 361 | } |
362 | } | 362 | } |
363 | } | 363 | } |