destroy

external fun destroy()(source)

Destroys and resources used by the object. Once an object is destroyed, it should not be used.

See also