1. -Call uninitialize before delete component.