xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 2 months ago

#1566 closed enhancement (fixed)

option to terminate child commands on server shutdown

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 2.1
Component: server Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

  • to try to ensure that we clean everything up on shutdown
  • to give client applications a chance to shutdown cleanly rather than just seeing that the X11 display is gone and crashing

Change History (2)

comment:1 Changed 3 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

Mostly done in r16214.

Still TODO (optional): allow a little bit more time for the client processes to cleanup and terminate before we yank the X11 server. (and make it configurable via env var)

comment:2 Changed 2 months ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

We can't sleep in the UI thread, which is where the cleanup code runs...
So r16215 busy waits for up to XPRA_TERMINATE_DELAY milliseconds (defaults to 1000)
Minor fix in r16216, code improvement in r16217.

This will do for now.

Note: See TracTickets for help on using tickets.