1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 03:59:52 +08:00
Files
osu-lazer/osu.Game/Tests/Visual
T
Bartłomiej Dach 8c3955d341 Improve safety of ongoing operation tracker
Finishing an operation started via
`OngoingOperationTracker.BeginOperation()` was risky in cases where the
operation ended at a callback on another thread (which, in the case of
multiplayer, is *most* cases). In particular, if any consumer registered
a callback that mutates transforms when the operation ends, it would
result in crashes after the framework-side safety checks.

Rework `OngoingOperationTracker` into an always-present component
residing in the drawable hierarchy, and ensure that the
`operationInProgress` bindable is always updated on the update thread.
This way consumers don't have to add local schedules in multiple places.
8c3955d341 · 2021-01-09 22:45:24 +01:00
History
..
2019-11-11 20:27:04 +08:00
2020-11-01 18:47:40 +01:00