DtlsSessionStore.prune

void prune()

Removes all expired sessions.

Keys are collected before removal: mutating an associative array while iterating it is undefined behavior in D.