Closed Trey2k closed 1 year ago
This PR fixes #75, the issue was caused when lua invoked mt_Object's __gc meta method for garbage collection. Sometimes it would be called during an none optimal time. Instead this PR makes all object live the life of the LuaAPI object.
This PR fixes #75, the issue was caused when lua invoked mt_Object's __gc meta method for garbage collection. Sometimes it would be called during an none optimal time. Instead this PR makes all object live the life of the LuaAPI object.