I'm pretty sure this was commented because it randomly caused crashes in the Battlescape, probably something still using the state after being destroyed that I couldn't find. You better test it thoroughly.