diff options
author | hangl <hangl@codeaurora.org> | 2019-04-15 14:59:19 +0800 |
---|---|---|
committer | Hang Lu <hangl@codeaurora.org> | 2019-05-24 02:26:43 +0000 |
commit | 4ea18af9af00b751bb0b1564f6c512c686d6cefa (patch) | |
tree | c849c1f5674e0ba10139b56d270155895e8aa690 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8b31cb3941dd8a94186396f6f1832270648ef168 (diff) |
Fix NPE in destroyUiAutomationService function
The issue happens when two threads shutting down UiAutomations simultaneously.
Add lock and NPE check to prevent this error.
CRs-Fixed: 2415101
Change-Id: Idd116888a8bc04679d96744c6b537d93ea6af92c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions