disable

open fun disable()

Disable and remove the loading animation.

Throws

InterruptedException from Thread.sleep() while waiting for the thread shutdown.

If the threads are not stopping this exception will be triggered after 10 seconds.