This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime-v2: Make sure Shutdown() only shuts the server down
Because the runtime v2 runs as a RPC server, the caller will at some point use the Shutdown() API to shut down the server. Because this will cause the server to exit, the caller cannot expect any valid answer when calling this. That's why we cannot afford stopping and deleting the sandbox from this function. Instead, we move sandbox.Stop() and sandbox.Delete() to a more appropriate API, the Delete() one. Fixes #1150 Signed-off-by: Sebastien Boeuf <[email protected]>
- Loading branch information