- Joined
- Dec 12, 2008
- Messages
- 7,385
A few weeks ago, I was playing Archer's Legacy and noticed that the
custom font remains in Warcraft's memory even after you quit the game.
So then I googled why it was happening and saw that object handles remain
in your computers memory until you quit Warcraft.
I want to destroy all object handles in my map for a player when he quits (it
may cause a desync, but since the player left, i don't think it's going to be a
problem) or for all players when the game ends, but I'm not exactly sure how
I can do that.
For example, to destroy a unit handle, would removing it from the game be
sufficient?
custom font remains in Warcraft's memory even after you quit the game.
So then I googled why it was happening and saw that object handles remain
in your computers memory until you quit Warcraft.
I want to destroy all object handles in my map for a player when he quits (it
may cause a desync, but since the player left, i don't think it's going to be a
problem) or for all players when the game ends, but I'm not exactly sure how
I can do that.
For example, to destroy a unit handle, would removing it from the game be
sufficient?