Create instance table reference in the main thread.
commiteab33323df411c6f7dfc4cf175fadc28b7adfe26
authorDaniel Wallin <daniel@boostpro.com>
Sat, 21 Mar 2009 13:06:07 +0000 (21 14:06 +0100)
committerDaniel Wallin <daniel@boostpro.com>
Tue, 7 Jul 2009 18:22:39 +0000 (7 20:22 +0200)
treee6eac7103e458d2907342cbb40cac85f39495e3d
parent80c6b7ff4c77ff607c07ca239d230feb16dd3c6c
Create instance table reference in the main thread.

This fixes a problem where instances created in short lived Lua thread
would try to access the thread lua_State* even after it had died.
src/class_rep.cpp