Merge default into minor

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-04-30 00:37:26 -03:00
11 changed files with 124 additions and 37 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ Reference::~Reference()
void Reference::ref(lua_State *L)
{
unref(); // Just to be safe.
unref(); // Previously created reference needs to be cleared
pinnedL = luax_getpinnedthread(L);
luax_insist(L, LUA_REGISTRYINDEX, REFERENCE_TABLE_NAME);
lua_insert(L, -2); // Move reference table behind value.