Relieving those stresses is why top barrel makers cryogenically treat rifle barrels. As the barrel heats up from firing, those stresses can change point of impact significantly.