Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Prevent ArgumentOutOfRangeException #15568

Closed
wants to merge 1 commit into from
Closed

Prevent ArgumentOutOfRangeException #15568

wants to merge 1 commit into from

Commits on Oct 17, 2022

  1. Prevent ArgumentOutOfRangeException

    Accessing ObservableCollection which was changed may result in an ArgumentOutOfRangeException.
    The exception will crash the Application because the CollectionViewRenderer cannot handle that condition in its internal drawing.
    
    The bug is actually caused by a race condition when ItemSource is edited (cleared) while the Renderer still paints the native control and is difficult to reproduce in a simple example.
    fntc committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    d08399f View commit details
    Browse the repository at this point in the history