Apply suggestions from code review

Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
This commit is contained in:
Junhyun Shim 2022-07-28 00:45:31 +02:00 committed by GitHub
parent da16c59059
commit 144bb4e110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ struct WorkloadProcess {
res = r;
} catch (Error& e) {
// if we're getting cancelled, we could run in the scope of the parent process, but we're not allowed to
// cancel `fun` in any other process than the child process. So we're going to pass the future to an
// cancel `fut` in any other process than the child process. So we're going to pass the future to an
// uncancellable actor (it has to be uncancellable because if we got cancelled here we can't wait on
// anything) which will then destroy the future on the child process.
cancelChild(self->childProcess(), fut);