aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.cpp')
-rw-r--r--src/lanes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lanes.cpp b/src/lanes.cpp
index 20636b2..0ea0900 100644
--- a/src/lanes.cpp
+++ b/src/lanes.cpp
@@ -676,6 +676,9 @@ LUAG_FUNC(configure)
676 // increment refcount so that this linda remains alive as long as the universe exists. 676 // increment refcount so that this linda remains alive as long as the universe exists.
677 _U->timerLinda->refcount.fetch_add(1, std::memory_order_relaxed); 677 _U->timerLinda->refcount.fetch_add(1, std::memory_order_relaxed);
678 lua_pop(L_, 1); // L_: settings 678 lua_pop(L_, 1); // L_: settings
679 // store a hidden reference in the registry to make sure the string is kept around even if a lane decides to manually change the "decoda_name" global...
680 kLaneNameRegKey.setValue(L_, [](lua_State* L_) { std::ignore = lua_pushstringview(L_, "main"); });
681
679 } 682 }
680 STACK_CHECK(L_, 1); 683 STACK_CHECK(L_, 1);
681 684