WebPlatformForEmbedded / WPEBackend-rdk

BSD 2-Clause "Simplified" License
8 stars 38 forks source link

wayland: destroy GSource to avoid use-after-free in destruction #69

Closed blino closed 1 year ago

blino commented 2 years ago

When the display is destroyed, also properly destroy the event source before unreffing it, otherwise it could keep running callbacks with invalid source pointers.