servo/components/compositing
Bi Fuguo a22f95a6a7
Fix the problem that touchmove crashes occasionally. Fix crash when multiple touch cancels occur (#35763)
* Fix the problem that touchmove crashes occasionally.
Check whether touchSequenceInfo exists when touch_sequence_map is modified in on_touch_event_processed.

Signed-off-by: kongbai1996 <1782765876@qq.com>

* Remove outdated todo.

We already transition to Finished in `on_touch_cancel`
in the Touch handler, so we don't need any logic
in the event handler.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: kongbai1996 <1782765876@qq.com>
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Co-authored-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-03-03 15:30:57 +00:00
..
Cargo.toml libservo: Move size handling to RenderContext from WindowMethods (#35621) 2025-02-25 15:03:53 +00:00
compositor.rs Fix the problem that touchmove crashes occasionally. Fix crash when multiple touch cancels occur (#35763) 2025-03-03 15:30:57 +00:00
lib.rs compositing: Move image output and shutdown management out of the compositor (#35538) 2025-02-20 18:27:49 +00:00
touch.rs Fix the problem that touchmove crashes occasionally. Fix crash when multiple touch cancels occur (#35763) 2025-03-03 15:30:57 +00:00
tracing.rs compositing: Move image output and shutdown management out of the compositor (#35538) 2025-02-20 18:27:49 +00:00
webview.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
windowing.rs libservo: Move size handling to RenderContext from WindowMethods (#35621) 2025-02-25 15:03:53 +00:00