Destroying surface with active touchpoints leads to crashes
Reproduced with sway, phoc and rootston.
Steps to reproduce:
- Launch any app, say, weston-terminal
- Touch it and don't release.
- Kill weston-terminal (for instance via ssh)
- Move or release the finger.
Result: events are being sent on a surface that has been already destroyed, leading to a crash.
Edited by Sebastian Krzyszkowiak