05-31-2013, 04:37 AM
Yes, but the problem is, Lua created the object, so it will, at one point or another, try to garbage-collect it; but the window object is already destroyed by the code that closes windows for individual players.
I have already fixed that, but now the problem is the opposite - I need a place to destroy the reference once the window is gone; for that, I need the Lua context of the plugin that created the window, etc... Lots of house-keeping for something this simple
I have already fixed that, but now the problem is the opposite - I need a place to destroy the reference once the window is gone; for that, I need the Lua context of the plugin that created the window, etc... Lots of house-keeping for something this simple