diff options
| author | Jonas Ådahl <jadahl@gmail.com> | 2015-12-24 12:41:46 +0800 |
|---|---|---|
| committer | Jonas Ådahl <jadahl@gmail.com> | 2016-01-16 16:37:36 +0800 |
| commit | 7efe8fbd89b069947d616ba187732ce2c2804839 (patch) | |
| tree | 174da1d577c2c559f4d11ddddfb27c91e396c46a /tests/queue-test.c | |
| parent | client: Fully flush during blocking dispatch (diff) | |
| download | wayland-7efe8fbd89b069947d616ba187732ce2c2804839.tar wayland-7efe8fbd89b069947d616ba187732ce2c2804839.tar.gz wayland-7efe8fbd89b069947d616ba187732ce2c2804839.tar.bz2 wayland-7efe8fbd89b069947d616ba187732ce2c2804839.tar.lz wayland-7efe8fbd89b069947d616ba187732ce2c2804839.tar.xz wayland-7efe8fbd89b069947d616ba187732ce2c2804839.tar.zst wayland-7efe8fbd89b069947d616ba187732ce2c2804839.zip | |
tests: Synchronize client termination in idle callback
We currently wait for clients in the wl_client destroy signal, which is
called before the client is destructed and the socket is closed. If test
clients rely on being closed due to the socket being closed we'd dead
lock. Avoid this by synchronizing in an idle task that is called after
the client is fully destroyed.
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests/queue-test.c')
0 files changed, 0 insertions, 0 deletions
