You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered:
andimairitsch
added a commit
to andimairitsch/BitooBitImageEditor
that referenced
this issue
Jul 22, 2021
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.
Stracktrace:
at System.Collections.Generic.Dictionary
2+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.List
1[T] completedPaths, System.Collections.Generic.Dictionary`2[TKey,TValue] inProgressPaths) [0x000ce] in C:\BitooBitImageEditor-master\src\BitooBitImageEditor\Helper\SKCanvasExtension.cs:85The text was updated successfully, but these errors were encountered: