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!
Interestingly enough, Blizzard skipped over ConvertRace(6). Perhaps they had another race planned?
And no, you don't need to null "race". (1) Races are never destroyed (2) Races don't extend agent, so they aren't referenced counted and don't need nulling to recycle their handle ID (again, races aren't destroyed anyway, so this fact doesn't really matter).
You can null them if you'd like. Most people will null all non-primitive locals anyway because it is easier than determining which ones you have to null and which ones you don't. There isn't really any harm done in nulling a variable, after all. You just add an extra line of code.
Interestingly enough, Blizzard skipped over ConvertRace(6). Perhaps they had another race planned?
And no, you don't need to null "race". (1) Races are never destroyed (2) Races don't extend agent, so they aren't referenced counted and don't need nulling to recycle their handle ID (again, races aren't destroyed anyway, so this fact doesn't really matter).
You can null them if you'd like. Most people will null all non-primitive locals anyway because it is easier than determining which ones you have to null and which ones you don't. There isn't really any harm done in nulling a variable, after all. You just add an extra line of code.
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.