[android-components](../../index.md) / [mozilla.components.feature.privatemode.notification](../index.md) / [AbstractPrivateNotificationService](index.md) / [onDestroy](./on-destroy.md)

# onDestroy

`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/privatemode/src/main/java/mozilla/components/feature/privatemode/notification/AbstractPrivateNotificationService.kt#L111)