image_window: Don't rely on root existing

This fixes a single case of root being access from the control hide
animation. Apparently it's possible that the widget is unparented from
the window and unmaped but not yet unrefed?

Fixes #473
This commit is contained in:
Sophie Herold 2025-03-29 20:51:30 +01:00
parent 0b4db9e03f
commit 5055eddda0
3 changed files with 32 additions and 15 deletions

View file

@ -0,0 +1 @@
Crash when closing the window, probably in the exact moment when the animnation for hiding controls starts.