| 9479 | } |
| 9480 | |
| 9481 | ~basic_reference() noexcept { |
| 9482 | if (lua_state() == nullptr || ref == LUA_NOREF) |
| 9483 | return; |
| 9484 | deref(); |
| 9485 | } |
| 9486 | |
| 9487 | basic_reference(const basic_reference& o) noexcept : stateless_reference(o.copy()), luastate(o.lua_state()) { |
| 9488 | } |