Semi-reset of state on deallocation