[android-components](../../index.md) / [mozilla.components.browser.storage.memory](../index.md) / [InMemoryHistoryStorage](index.md) / [cleanup](./cleanup.md)

# cleanup

`fun cleanup(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/storage-memory/src/main/java/mozilla/components/browser/storage/memory/InMemoryHistoryStorage.kt#L130)

Overrides [HistoryStorage.cleanup](../../mozilla.components.concept.storage/-history-storage/cleanup.md)

Cleanup any allocated resources.

