Xpra: Ticket #1566: option to terminate child commands on server shutdown
- 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
Thu, 06 Jul 2017 17:06:21 GMT - Antoine Martin: status, description changed
- status
changed from new to assigned
- description
modified (diff)
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)
Fri, 07 Jul 2017 06:17:03 GMT - Antoine Martin: status changed; resolution set
- status
changed from assigned to closed
- resolution
set to fixed
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.
Sat, 23 Jan 2021 05:27:52 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1566