Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #530 using technique that fixed #418 for async code. #533

Closed
wants to merge 1 commit into from

Conversation

joncloud
Copy link
Contributor

No description provided.

@cremor
Copy link
Contributor

cremor commented Jun 14, 2016

While that solution works, wouldn't it be cleaner to have the ToList call already in the KeyPropertiesCache method? That way it wouldn't be possible to forget it in callers.

Of course that solution would lead to more - maybe unnecessary - copies. But it seems like the various xyzPropertiesCache methods already return list copies when the requested type is already in the cache. Only if the cache is newly build the original list is returned (except for TypePropertiesCache that already returns a copy in both cases).

@joncloud
Copy link
Contributor Author

It looks like this was solved and merged with #1048.

@joncloud joncloud closed this Jun 12, 2020
@joncloud joncloud deleted the issue530 branch June 13, 2020 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants