detach

fun detach()(source)

Stop observing registrations and remove the per-agent observers that can be removed.