[android-components](../../index.md) / [mozilla.components.feature.pwa](../index.md) / [AbstractWebAppShellActivity](index.md) / [onDestroy](./on-destroy.md)

# onDestroy

`protected 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/feature/pwa/src/main/java/mozilla/components/feature/pwa/AbstractWebAppShellActivity.kt#L52)