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
3 files changed