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

uncatched Exception on finger painting #17

Open
andimairitsch opened this issue Jul 22, 2021 · 0 comments
Open

uncatched Exception on finger painting #17

andimairitsch opened this issue Jul 22, 2021 · 0 comments

Comments

@andimairitsch
Copy link

Hi,
i really like your simple ImageEditor and i wanted to use it in one of my current projects but when i draw multiple lines i often get a
"System.InvalidOperationException: Collection was modified; enumeration operation may not execute."

Unfortunately the exception is not catchable by sourrounding the ImageEditor.Instance.GetEditedImage method.

image

Stracktrace:

at System.Collections.Generic.Dictionary2+ValueCollection+Enumerator[TKey,TValue].MoveNext () [0x00013] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/Dictionary.cs:1613 at BitooBitImageEditor.Helper.SKCanvasExtension.DrawPath (SkiaSharp.SKCanvas canvas, System.Collections.Generic.List1[T] completedPaths, System.Collections.Generic.Dictionary`2[TKey,TValue] inProgressPaths) [0x000ce] in C:\BitooBitImageEditor-master\src\BitooBitImageEditor\Helper\SKCanvasExtension.cs:85

andimairitsch added a commit to andimairitsch/BitooBitImageEditor that referenced this issue Jul 22, 2021
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

No branches or pull requests

1 participant