Destroyable

interface Destroyable

Wherever this interface is used, call destroy function once the instance is no longer needed in order to release resources and avoid memory leaks.

Inheritors

Functions

Link copied to clipboard
abstract fun destroy()

Release all resources held by this object, and prevent further use.