[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [SessionManager](../index.md) / [Observer](index.md) / [onAllSessionsRemoved](./on-all-sessions-removed.md)# onAllSessionsRemoved`open fun onAllSessionsRemoved(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)[(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/SessionManager.kt#L504)All sessions have been removed. Note that this will callback will be invoked wheneverremoveAll() or removeSessions have been called on theSessionManager. This callback will NOT be invoked when just the lastsession has been removed by calling remove() on the SessionManager.