Skip to content
Commit cc69dc44 authored by Marius Vlad's avatar Marius Vlad
Browse files

clients/window: Defer closing of window



Instead of closing the window directly by calling close_handler() use a
deferred task to do that instead.

That way we avoid a potential invalid access on a link which was
previously removed, due to the fact both window_destroy() and
touch_handle_up() traverse the same list.

This is an alternative to 841.

Fixes: #607.

Suggested-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Reported-by: default avatarHe Yong <hyyoxhk@163.com>
Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 57d32722
Loading
Loading
Loading
Pipeline #619146 passed with stages
in 3 minutes and 6 seconds
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