Backport of "gtkwaylandsink: Fix crash when rendering after the window is closed" into 1.22
Backport of !4232 (merged) "gtkwaylandsink: Fix crash when rendering after the window is closed".
Commits:
- 1b926e0d gtkwaylandsink: Fix crash when rendering after the window is closed