summaryrefslogtreecommitdiff
path: root/opengl/libs/hooks.h
diff options
context:
space:
mode:
author Jon Spivack <spivack@google.com> 2020-03-13 20:45:18 -0700
committer Jon Spivack <spivack@google.com> 2020-03-13 20:45:18 -0700
commit0f18f2c3b1ab986baf2b70803ecd239a9719661a (patch)
tree7d6b145be64519d13b05154217f2427573660e29 /opengl/libs/hooks.h
parent78bdd44a0419a0e2ffcf5387d7d848a36c8df835 (diff)
ServiceManager: Check guaranteeClient before unregistering services
If tryUnregisterService is called while a service has set guaranteeClient to true, it should not succeed. The flag means that a client exists and is about to be counted. Not checking this flag can lead to a race. Bug: 151485917 Test: aidl_lazy_test Change-Id: If7ef7a5c7521ea40521bd351385fb8bd650aba08
Diffstat (limited to 'opengl/libs/hooks.h')
0 files changed, 0 insertions, 0 deletions