We send SIGTERM to the bwrap parent of vscode-server and collab-server processes when shutdown is requested, but SIGTERMing a bwrap just SIGKILLs the children which prevents graceful cleanup. We should track these children PIDs and SIGTERM them directly.
We send
SIGTERMto thebwrapparent ofvscode-serverandcollab-serverprocesses when shutdown is requested, butSIGTERMing abwrapjustSIGKILLs the children which prevents graceful cleanup. We should track these children PIDs andSIGTERMthem directly.