diff options
author | Dylan Reid <dgreid@chromium.org> | 2020-04-24 03:51:19 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-29 03:04:36 +0000 |
commit | 887289e5d455d2cd026a2b178002ed009ea8bdd4 (patch) | |
tree | 029605b6be138ae09bc2d00b2167c4a5c1f596c0 /vm_control/src | |
parent | 7b8f776cb807ce1174899e567b2b00a040fe409f (diff) | |
download | crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.tar crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.tar.gz crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.tar.bz2 crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.tar.lz crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.tar.xz crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.tar.zst crosvm-887289e5d455d2cd026a2b178002ed009ea8bdd4.zip |
cros_async: allow wakers to be canceled
Allowing for wakers to be canceled will allow futures that register wakers properly implement `Drop`. As it is, they won't ever fire but the saved FD will leak. TEST=added 'cancel' unit test to fd_executor: "cargo test cancel" from the cros_async directory. Change-Id: Iab5bea6aac0cc689392997745f5dcc8c285200d9 Change-Id: I1df1a04897e8d2c5e9c414d84998084607209fb9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2164074 Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Commit-Queue: Dylan Reid <dgreid@chromium.org> Tested-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'vm_control/src')
0 files changed, 0 insertions, 0 deletions