Jesus4Lyf
Good Idea™
- Reaction score
- 397
>So I have to null every variable related to an object I want to remove from the game?
>Like say.. a dummy unit?
Yes.
>Furthermore, all local variables
And global variables... (I sincerely hope.)
(And hell, a parameter can probably be in an infinite TSA loop to leak a handle too! )
>Like say.. a dummy unit?
Yes.
>Furthermore, all local variables
And global variables... (I sincerely hope.)
(And hell, a parameter can probably be in an infinite TSA loop to leak a handle too! )
>Actually, globals don't need to be nulled.
In a perfect world, globals should be nulled immediately when objects are destroyed as well, due to the persistent references leak. But that's outside of the community's common practises, so whatever.
In a perfect world, globals should be nulled immediately when objects are destroyed as well, due to the persistent references leak. But that's outside of the community's common practises, so whatever.