Merge "Use a ReferenceQueue to prune weak references" into rvc-dev