AppPear / ChartView

ChartView made in SwiftUI
MIT License
5.26k stars 645 forks source link

Fixes crash which sometimes happens in PieChartRow #265

Closed harryblam closed 9 months ago

harryblam commented 9 months ago

Description

We experience random crashes sometimes when the PieChartRow data is mutated often (see below screenshot).

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Crash when the slices index was out of range because the data was mutated whilst getting it.

Screenshot 2023-09-29 at 11 31 04

Types of changes

Checklist: