void destroy()

Destroys the component instance and all of the data structures associated with it.

Source

void destroy();