mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Better error when calling RunAsync on a Sandbox2 instance twice
PiperOrigin-RevId: 553129224 Change-Id: I92ff15d111ccd5e7d4310a2e1559811dd1cc7027
This commit is contained in:
parent
1c960e8389
commit
3bbb98c494
|
@ -71,6 +71,7 @@ Result Sandbox2::AwaitResult() {
|
|||
}
|
||||
|
||||
bool Sandbox2::RunAsync() {
|
||||
CHECK(monitor_ == nullptr) << "Sandbox was launched already";
|
||||
Launch();
|
||||
|
||||
// If the sandboxee setup failed we return 'false' here.
|
||||
|
|
Loading…
Reference in New Issue
Block a user