Thunder
#11
(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.
Reply
Thanks given by:


Messages In This Thread
Thunder - by NiLSPACE - 05-09-2015, 09:38 PM
RE: Thunder - by worktycho - 05-09-2015, 09:46 PM
RE: Thunder - by xoft - 05-09-2015, 10:02 PM
RE: Thunder - by worktycho - 05-09-2015, 10:04 PM
RE: Thunder - by xoft - 05-09-2015, 10:08 PM
RE: Thunder - by worktycho - 05-09-2015, 10:20 PM
RE: Thunder - by Shadowraix - 05-13-2015, 06:28 AM
RE: Thunder - by xoft - 05-13-2015, 06:40 AM
RE: Thunder - by Shadowraix - 05-13-2015, 07:14 AM
RE: Thunder - by xoft - 05-13-2015, 07:32 AM
RE: Thunder - by Shadowraix - 05-13-2015, 07:35 AM



Users browsing this thread: 1 Guest(s)