Continuous test dashboards report that quit() can crash sometimes due to mThread being null. This patch adds a null guard in tearDown(). Bug: 32561414 Test: runtest frameworks-net Change-Id: If66fb47e31e77d25b4741a786f12eb78f0b9102e
Bug: 32561414 Bug: 62918393 Bug: 62044295 Test: runtest frameworks-net Change-Id: If23993b5e391947ecbdc01677f0a643144794b2b
Test: no functional change Bug: 62044295 Change-Id: Iad3af646e8d252f84978d1a367878a78c2869982