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

Exception within MediaContext.CommitCompositorsWithThrottling() when running the Samples #11598

Closed
npolyak opened this issue May 31, 2023 · 2 comments · Fixed by #11605
Closed
Assignees
Labels

Comments

@npolyak
Copy link

npolyak commented May 31, 2023

I am running the 11.0.0-rc1.1 Desktop samples on Windows.

I am getting some errors:
System.InvalidOperationException: 'Collection was modified; enumeration may not operate' line 81 MedialContext.Compositor.cs file.

It happens in many different places, including when I am rotating the adorner in AdornerLayer sample

@npolyak npolyak added the bug label May 31, 2023
@maxkatz6
Copy link
Member

Seems to be only reproducible with .NET Framework.

@kekekeks
Copy link
Member

Apparently modifying a HashSet during enumeration is safe in .NET Core which is why I've missed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants