commit | 5b173d825b12aea9f8801a995c7d11edfcb61523 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Dec 14 17:51:17 2022 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Wed Dec 14 17:54:29 2022 +0000 |
tree | 9c978933bb4ebb30e886cf681ec9e52ace363cc3 | |
parent | 51a279feb55e712738510631cde10c6cdf93aafb [diff] |
Drop the VM reference when stopped A VM may exit even without a call to stop() or close(). When we notice that, drop our reference to the binder interface (to allow GC to kick in abd VS to exit) and drop our memory pressure callback. This is mostly good housekeeping, but it also makes sure we don't end up registering the callback multiple times if we call run() again on the same VM without an intervening stop(). Bug: 238931615 Test: atest MicrodroidTests Change-Id: If4c75ca11adf4239e4337405c24ff5db08707e7a
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.