diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-08-11 15:42:59 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-08-11 15:42:59 +0900 |
commit | 31e19f34f56a01a7b4133cd1dccf13b18b469ac7 (patch) | |
tree | 55348a815d3cacf0ce851246c7930f258939d096 /docs/html/sdk/support_api_diff | |
parent | c00b1067a05116548a0883e1400a1c4715078797 (diff) |
Don't attempt to stop the receive thread if we never started it.
If socket initialization fails, DhcpState#exit will call
mReceiveThread#stop and crash the system with an NPE. Make sure
we don't do that if mReceiveThread is null, and properly null it
out when exiting.
Bug: 23088314
Change-Id: I4378d8280f9d8588f5eaa8bd7ade61beab1c3ce2
Diffstat (limited to 'docs/html/sdk/support_api_diff')
0 files changed, 0 insertions, 0 deletions