| 8922 | } |
| 8923 | |
| 8924 | ~basic_reference() noexcept { |
| 8925 | if (lua_state() == nullptr || ref == LUA_NOREF) |
| 8926 | return; |
| 8927 | deref(); |
| 8928 | } |
| 8929 | |
| 8930 | basic_reference(const basic_reference& o) noexcept |
| 8931 | : stateless_reference(o.copy()), luastate(o.lua_state()) { |