Destroy layers generated in temporary factory