jacob1
50336565b4
Fix missing delete commandInterface, fix gc issue with LuaComponent/LuaWindow
...
lua_close wasn't being called at all before due to the delete commandInterface being missing. With it there, the lua gc could delete the LuaComponent before the LuaWindow. Make sure if that happens, it tells the parent LuaWindow it's already been gced
2021-09-02 23:31:30 -04:00
Tamás Bálint Misius
9f47e6c028
Actually fix the bug, see previous commit
2021-01-04 21:49:09 +01:00
Tamás Bálint Misius
1e67a579fd
Fix crash when the constructor of a LuaComponent derivative fails
...
The interface API is a mess, hopefully not for long.
2021-01-04 21:35:47 +01:00
Tamás Bálint Misius
360297c338
Mesonification
2020-12-14 20:16:52 +01:00
Tamás Bálint Misius
fd032eff36
Fix LuaSmartRefs acting on dead Lua states
...
This fixes problems with degenerate cases such as:
local button
assert(coroutine.resume(coroutine.create(function()
button = Button(10, 10, 20, 20)
end)))
button:action(function()
print("hi")
end)
2020-08-21 11:16:11 +02:00
Tamás Bálint Misius
0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00
Tamás Bálint Misius
06e2836726
Fix Lua reference leaks ( fixes #638 )
2019-04-09 15:28:40 +02:00
jacob1
6749c2547f
New SConscript (hopefully better)
...
Fixes a lot of bugs, also almost all options are no longer needed and are just auto-detected
2014-06-08 19:33:58 -04:00
jacob1
f66679e551
a little reorganization (maybe more later)
2014-01-20 13:52:53 -05:00