steamcompmgr: stop capturing pid in waitThread

This commit is contained in:
Simon Ser 2021-08-10 11:57:39 +02:00
parent ae66c6037b
commit a038e881c2

View file

@ -3033,7 +3033,7 @@ spawn_client( char **argv )
_exit( 1 );
}
std::thread waitThread([pid](){
std::thread waitThread([]() {
// Because we've set PR_SET_CHILD_SUBREAPER above, we'll get process
// status notifications for all of our child processes, even if our
// direct child exits. Wait until all have exited.