diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-12-05 17:57:07 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-05 17:58:36 -0800 |
commit | 40035d7d9c18d0467075cdaebe3d26d2dbd2720b (patch) | |
tree | b9d738eb35ca2786940a18ab0fe0842f68d88c44 /test/util/pty_util.cc | |
parent | 13f0f6069af4d49e236cbee4f0284c190784db37 (diff) |
Fix possible race condition destroying container
When the sandbox is destroyed, making URPC calls to destroy the
container will fail. The code was checking if the sandbox was
running before attempting to make the URPC call, but that is racy.
PiperOrigin-RevId: 284093764
Diffstat (limited to 'test/util/pty_util.cc')
0 files changed, 0 insertions, 0 deletions