diff options
author | Erik Kline <ek@google.com> | 2015-05-15 18:49:17 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2015-05-20 12:08:55 +0900 |
commit | abd3142dcae02026689b939c363329b822b7cc0a (patch) | |
tree | f880c9210be6b53d028608e82562fdda3e0efe99 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f357c96273ad8c0f7acc0e15213cced2f0b21883 (diff) |
Close netlink socket when shutting down IpReachabilityMonitor
This forces the NetlinkSocketObserver thread to exit quickly, rather
than lingering until the next random netlink neighbor multicast message
arrives.
Additionally, add a small unittest to verify that multiple calls to
NetlinkSocket#close() are safe.
Change-Id: I101730fad7eee72f9c6e8a7e7bd10c634f2ceab4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions