Ack messages when WindowInfosListeners are removed
This fix updates WindowInfosListenersInvoker::removeWindowInfosListener to automatically ack any unacked messages associated with the listener being removed. This fixes a race where the invoker may send the listener a message while the client is removing the listener and terminating its process.
Bug: 300644295
Test: WindowInfosListenerInvokerTest
Change-Id: I93a5fbecb03bb8eeea8d8385bdf906051d595ae2
(cherry picked from commit ed234c620bee72bf0bfc603642ea42a3004e5145)
Merged-In: I93a5fbecb03bb8eeea8d8385bdf906051d595ae2
3 files changed