public T ReleaseStrongReference(ulong id) { T thing = default(T); lock(this) { references.TryGetValue(id, out thing); references.Remove(id); } return thing; } }