destroy

fun destroy()

Stops listening to the platform reachability. After this call networkStatus and isReachable keep their last values and are no longer updated. Call it from the code that created the instance, once no component uses it anymore. Calling it more than once has no effect.