diff options
Diffstat (limited to 'src/keeper.cpp')
-rw-r--r-- | src/keeper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keeper.cpp b/src/keeper.cpp index e058114..11f1797 100644 --- a/src/keeper.cpp +++ b/src/keeper.cpp | |||
@@ -830,7 +830,7 @@ void Keepers::initialize(Universe& U_, lua_State* L_, int const nbKeepers_, int | |||
830 | auto _initOneKeeper = [U = &U_, L = L_, gc_threshold = gc_threshold](Keeper& keeper_, int const i_) { | 830 | auto _initOneKeeper = [U = &U_, L = L_, gc_threshold = gc_threshold](Keeper& keeper_, int const i_) { |
831 | STACK_CHECK_START_REL(L, 0); | 831 | STACK_CHECK_START_REL(L, 0); |
832 | // note that we will leak K if we raise an error later | 832 | // note that we will leak K if we raise an error later |
833 | KeeperState const _K{ state::CreateState(U, L) }; // L_: settings _K: | 833 | KeeperState const _K{ state::CreateState(U, L, "keeper") }; // L_: settings _K: |
834 | if (_K == nullptr) { | 834 | if (_K == nullptr) { |
835 | raise_luaL_error(L, "out of memory while creating keeper states"); | 835 | raise_luaL_error(L, "out of memory while creating keeper states"); |
836 | } | 836 | } |