diff options
Diffstat (limited to '')
-rw-r--r-- | src/lindafactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lindafactory.cpp b/src/lindafactory.cpp index 3f4b9b0..6a2b000 100644 --- a/src/lindafactory.cpp +++ b/src/lindafactory.cpp | |||
@@ -69,7 +69,7 @@ void LindaFactory::createMetatable(lua_State* L_) const | |||
69 | void LindaFactory::deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const | 69 | void LindaFactory::deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const |
70 | { | 70 | { |
71 | Linda* const _linda{ static_cast<Linda*>(o_) }; | 71 | Linda* const _linda{ static_cast<Linda*>(o_) }; |
72 | LUA_ASSERT(L_, _linda); | 72 | LUA_ASSERT(L_, _linda && !_linda->inKeeperOperation()); |
73 | Keeper* const _myK{ _linda->whichKeeper() }; | 73 | Keeper* const _myK{ _linda->whichKeeper() }; |
74 | // if collected after the universe, keepers are already destroyed, and there is nothing to clear | 74 | // if collected after the universe, keepers are already destroyed, and there is nothing to clear |
75 | if (_myK) { | 75 | if (_myK) { |