[android-components](../../index.md) / [mozilla.components.concept.engine](../index.md) / [EngineView](index.md) / [onDestroy](./on-destroy.md)

# onDestroy

`open fun onDestroy(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/EngineView.kt#L71)

To be called in response to [Lifecycle.Event.ON_DESTROY](#). See [EngineView](index.md)
implementations for details.

