diff options
| author | 2023-01-06 08:38:40 +0000 | |
|---|---|---|
| committer | 2023-01-06 17:53:56 +0000 | |
| commit | 9a81477e866ad1837cc7fdbaad80b15cdbafc936 (patch) | |
| tree | db7ec7f97a9d6201d298a7b72a970113b718646b /api/api.go | |
| parent | 12f428cb7c7058afe0a7b77ae8ca2cbd4038e278 (diff) | |
Fix issue with leaking death recipients
- When invalidating an existing external interface, we also need to
unregister any listeners to ensure that binder death recipients are
unlinked. Otherwise, a crash in the process for the old listener
can cause the current listener to be unregistered.
Bug: 242377577
Test: atest WMShellUnitTests
Change-Id: Ibb77ac19e4ebc616b8977db70d6269e3b930848e
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions