terminate

abstract fun terminate()

Releases everything this provider holds and cancels any caching still in flight.

Already-cached tiles are kept — this tears down the provider, it does not clear the cache. The provider must not be used afterwards; construct a new one instead.