xpra icon
Bug tracker and wiki

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

Opened 5 years ago

Closed 5 years ago

Last modified 17 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 (3)

comment:1 Changed 5 years 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 5 years 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.

comment:3 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.