destroy

fun destroy()

Stops polling and removes all event and diagnostic listeners.