Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for sudden map deletion #4084

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

Emik03
Copy link
Member

@Emik03 Emik03 commented Apr 24, 2024

Current stable build can cause ArgumentOutOfRangeException if user deletes a chart, sometimes.

[1:55:21] - RUNTIME - DEBUG: Deleted map: 4f633542553b5667186a8cafad30ab2a (#5023) in the cache
[1:55:21] - RUNTIME - ERROR: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Quaver.Shared.Screens.Selection.SelectionScreen.<>c__DisplayClass77_0.<OnMapsetDeleted>b__0() in D:\QuaverDeploy\Quaver\Quaver.Shared\Screens\Selection\SelectionScreen.cs:line 914
   at Quaver.Shared.Scheduling.ThreadScheduler.<>c__DisplayClass1_0.<Run>b__0() in D:\QuaverDeploy\Quaver\Quaver.Shared\Scheduling\ThreadScheduler.cs:line 38

@AiAe AiAe merged commit 0d0f497 into Quaver:ui-redesign Apr 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants