Cuberite Forum
Thunder - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Thunder (/thread-1926.html)

Pages: 1 2


RE: Thunder - Shadowraix - 05-13-2015

(05-13-2015, 07:32 AM)xoft Wrote: The problem is that the PlayerObj is invalid, but not nil, so accessing it will hard-crash the server. The underlying C++ cPlayer object is gone, but the Lua object is still pointing to the memory it used to occupy.

That makes sense. I've never had to deal with this sort of way of handling things. Good to know though. Now I see why a lot of programmers hate implementing multi-threading.