commit | e24989ccde789d890686f551a45447ead9a80de7 | [log] [tgz] |
---|---|---|
author | Long Ling <longling@google.com> | Thu Feb 10 15:17:06 2022 -0800 |
committer | Tim Zimmermann <tim@linux4.de> | Sat Sep 09 11:07:03 2023 +0200 |
tree | bca8aa05b09f2da4ab4e7152eda1179b27f27e6e | |
parent | a8963bd9d707e3fe6e81b4aed824774340f8fe97 [diff] |
hwc3: do not check weak reference for client alive Client weak ref is expired before the client destructor is called. A new client could be created in between and its weak ref gets reset unexpectedly during the prior client destruction. Use a bool variable to indicate if the client is alive. Bug: 215414703 Change-Id: I221f613cf8af81e1a79631ba28b1a99e6c63eb3a