commit | cd5d7376dceb14b5bb5d84540192b63b3c86b4d3 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Jun 22 15:57:12 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Jun 22 19:09:42 2016 -0700 |
tree | 3218c940e140295cf431f1a7f4608113695845c1 | |
parent | 495541c5bb4372eb9e3596cc65f3958084817329 [diff] |
adb: don't dup local socket fd. SIGHUP handling depends on the local socket fd being fully closed in order to trigger an event on its counterpart. Release the local socket fd inside of Subprocess when returning it to ensure this. Functionally, a cherry-pick of internal commit 42afe20. Bug: http://b/29565233 Change-Id: I13b17bcddf0b396a5f4880f9e410fbbf24d9370d