Cuberite Forum

Full Version: Possible memory leak in Squirrel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Regarding to the author the bindings should be freed on vm shutdown..
I´ll look closer into this issue when I finished what I´m currently working on.
This brings one more question to mind, regarding "sandboxing". Lua plugins are currently "sandboxed" - they don't see each other, each has a separate context. How about Squirrel plugins, are they sandboxed as well, or can they interact? If so, do they share their contexts properly? And are they thread-safe?
The SquirrelPlugins are currently not sandboxed, they all live in one context and can interact theoretically.
But I don´t think they are thread-safe.
Pages: 1 2