Skip to content
Snippets Groups Projects
Commit c785deac authored by Sergey Bugaev's avatar Sergey Bugaev Committed by Matthias Clasen
Browse files

window: Fix crash when unexporting unrealized window


It is possible that the window gets unrealized while a handle to its
surface is exported. This, naturally, invalidates the handle, so there
is nothing left to unexport. We should just note that and do nothing,
rather than crashing.

Fixes a crash when a portal-backed file dialog parented to a window is
closed after the window it was parented to.

Reported-by: default avatarIvan Molodetskikh <yalterz@gmail.com>
Signed-off-by: default avatarSergey Bugaev <bugaevc@gmail.com>
parent 78ffc7ce
No related branches found
Tags upstream/1.4.3
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment