Replace assert with early return, in case the collection was deleted meanwhile.
Another comment in the same file says // Do not assert on invalid collections, since a collection may be deleted // in the meantime and deleted collections are invalid. Therefore it looks like this is expected.
Showing
Please register or sign in to comment