xpra icon
Bug tracker and wiki

Opened 8 years ago

Closed 8 years ago

Last modified 8 years 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: 0.0.7.23
Keywords: proxy Cc:

Description

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 8 years ago.
patch to fix the problem

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Timo Juhani Lindfors

patch to fix the problem

comment:1 Changed 8 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

merged in r98

comment:2 Changed 8 years ago by Antoine Martin

Milestone: 0.0.7.x
Version: 0.0.7.23
Note: See TracTickets for help on using tickets.