Mixin: module:delite/Destroyable

module:delite/Destroyable

Call this.own(...) on list of handles (returned from dojo/aspect, dojo/on, dojo/Stateful::watch, or any class (including widgets) with a destroy() or remove() method. Then call destroy() later to destroy this instance and release the resources.
Source:

Members

destroy

Destroy this class, releasing any resources registered via own().
Source:

Methods

own()

Track specified handles and remove/destroy them when this instance is destroyed, unless they were already removed/destroyed manually.
Source: