clean

fun clean()

Remove all tokens and WeakReferences whose instances have already been garbage-collected.

Runs in O(n) time relative to token count.

Should not have to be called manually.

Sources

jvm source
Link copied to clipboard