commit | 508622097312f3a20ba08595ef64e001e498e878 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon May 04 13:27:37 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed May 06 06:38:37 2020 +0000 |
tree | a811e8dd936fa5cbfa756e34c17dd4b6780b50a4 | |
parent | 2195751cb1816f16b0d544091f87e41dd116fa6c [diff] |
Don't crash if the PREF64 expires when IpClient is stopped. Currently the code does not cancel the PREF64 alarm when IpClient is stopped. If the alarm fires when IpClient has disconnected, it will call updatePref64 with a null prefix, which will crash. Ensure that the alarm is cancelled when IpClient is stopped. Bug: 153694684 Bug: 155559286 Test: new unit tests Change-Id: I397eb36c1a8ecf1324de33e720577fe2e4e07056 Merged-In: I397eb36c1a8ecf1324de33e720577fe2e4e07056