Description
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.List
1[T] completedPaths, System.Collections.Generic.Dictionary`2[TKey,TValue] inProgressPaths) [0x000ce] in C:\BitooBitImageEditor-master\src\BitooBitImageEditor\Helper\SKCanvasExtension.cs:85