Destroys the animation widget. Should be called if permanently removing the widget from layout.
Online Documentation