Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
It does not leak. It simply returns the object that was saved in the hashtable in the first place.
LoadLocationHandle is fine as well. Even if you use LoadXHandle every 0.001 seconds, the memory usage won't go up.
Of course, you still have to remove the object (and flush the hashtable or remove that object from the hashtable). But the loading functions themselves do not create a new object/leak.
It does not leak. It simply returns the object that was saved in the hashtable in the first place.
LoadLocationHandle is fine as well. Even if you use LoadXHandle every 0.001 seconds, the memory usage won't go up.
Of course, you still have to remove the object (and flush the hashtable or remove that object from the hashtable). But the loading functions themselves do not create a new object/leak.
Thanks, PnF. A further question, what if I still need to store things under the same parent and child key? In that case, I do not need to flush it right?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.