Skip to content

Commit

Permalink
Drive-by: Typos in worker-rpc.c++.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentonv committed Apr 26, 2024
1 parent 40363f6 commit 732e7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/workerd/api/worker-rpc.c++
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,9 @@ public:
// object's lifetime is that of the RPC call, but in reality they are refcounted under the
// hood. Since well be executing the call in the JS microtask queue, we have no ability to
// actually cancel execution if a cancellation arrives over RPC, and at the end of that
// execution we're going to accell the call context to write the results. We could invent some
// execution we're going to access the call context to write the results. We could invent some
// complicated way to skip initializing results in the case the call has been canceled, but
// it's easier and safer to just grap a refcount on the call context object itself, which
// it's easier and safer to just grab a refcount on the call context object itself, which
// fully protects us. So... do that.
auto ownCallContext = capnp::CallContextHook::from(callContext).addRef();

Expand Down

0 comments on commit 732e7fe

Please sign in to comment.