Skip to content

uncatched Exception on finger painting #17

Description

@andimairitsch

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions