crosvm/win_audio
Kaiyi Li 3debe19097 win_audio: duplicate the 2 ready Events
When DeviceRenderer is destroyed, ready_event and async_ready_event will
be both dropped, and CloseHandle will be called on the same HANDLE
twice.

Duplicate the event HANDLE before passing to the ex.async_event event
factory.

TEST=flat run battlestar; run a game and close a game in debug mode, no exception is caught
BUG=b:370552944
Change-Id: I3d7536e450af52e38e37556adcb16d42c73ef23f
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5900813
Reviewed-by: Richard Zhang <rizhang@google.com>
Commit-Queue: Kaiyi Li <kaiyili@google.com>
2024-09-30 21:43:46 +00:00
..
src win_audio: duplicate the 2 ready Events 2024-09-30 21:43:46 +00:00
build.rs Replace .get(0) with .first() 2024-06-10 20:44:59 +00:00
Cargo.toml Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
prebuilts_version win_audio: build and test win_audio 2022-11-01 20:40:09 +00:00