xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 10 years ago

Closed 10 years ago

Last modified 8 months ago

#5 closed defect (fixed)

windows stay visible on the screen even if the server is killed

Reported by: Timo Juhani Lindfors Owned by: Antoine Martin
Priority: minor Milestone: 0.0.7.x
Component: server Version:
Keywords: proxy Cc:


Currently if the server is killed the _to_server thread exits and
closes both _client_conn and _server_conn. However, this does not
cause the _to_client thread to stop. As a result an extra "xpra"
process stays listed in the process list and users don't notice that
the server has died. Only if you try to interactive with any of the
windows will the proxy write something to the server socket and notice
the problem.

This patch stops _to_client thread when _to_server thread exits and
vice versa. Calling _Thread_stop() is bit ugly but the alternative
would probably be to use some sort of polling mechanism instead of
blocking read() in _copy_loop.

Attachments (1)

0001-proxy-Make-sure-we-exit-if-the-server-dies.patch (1.5 KB) - added by Timo Juhani Lindfors 10 years ago.
patch to fix the problem

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Timo Juhani Lindfors

patch to fix the problem

comment:1 Changed 10 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

merged in r98

comment:2 Changed 10 years ago by Antoine Martin

Milestone: 0.0.7.x

comment:3 Changed 8 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/5

Note: See TracTickets for help on using tickets.