Piotrekol / StreamCompanion

osu! information extractor, ranging from selected map info to live play data
MIT License
374 stars 59 forks source link

Failing generation of Ctb hit results #369

Closed Piotrekol closed 1 year ago

Piotrekol commented 1 year ago

Not sure how to reproduce this one

System.InvalidOperationException:Collection was modified; enumeration operation may not execute.
?, in bool Enumerator.MoveNextRare()
?, in bool SelectManySingleSelectorIterator<TSource, TResult>.MoveNext()
?, in int Enumerable.Count<TSource>(IEnumerable<TSource> source, Func<TSource, bool> predicate)
?, in int CtbCalculator.GetMaxCombo(IReadOnlyList<HitObject> hitObjects)
?, in PerformanceAttributes PpCalculator.InternalCalculate(CancellationToken cancellationToken, double? startTime, double? endTime)
?, in PerformanceAttributes PpCalculator.Calculate(CancellationToken cancellationToken, double? startTime, double? endTime)
?, in PpReplacements(ISettings settings)+(CancellationToken c, string mods) => { } [4]
?, in async Task PpReplacements.CreateTokensAsync(IMapSearchResult map, CancellationToken cancellationToken)
?, in async Task MainMapDataGetter.ProcessMapResult(IMapSearchResult mapSearchResult, CancellationToken cancellationToken)+(?) => { }
?, in async Task OsuEventHandler.HandleMapSearchResult(IMapSearchResult mapSearchResult, CancellationToken token)
?, in async Task OsuEventHandler.HandleMapSearchArgs(IMapSearchArgs mapSearchArgs)
?, in async Task OsuEventHandler.OsuEventWorkerLoop()
Piotrekol commented 1 year ago

Most likely fixed via 4fc79547eb1bb1ea6f56da8dee694a5d7830acd7