Skip to content

Fix: Prevent race condition during GrpcProtocolHandler disposal#1798

Merged
WhitWaldo merged 2 commits into
dapr:masterfrom
WhitWaldo:grpc-dispose-exception
May 3, 2026
Merged

Fix: Prevent race condition during GrpcProtocolHandler disposal#1798
WhitWaldo merged 2 commits into
dapr:masterfrom
WhitWaldo:grpc-dispose-exception

Conversation

@WhitWaldo

Copy link
Copy Markdown
Contributor

Description

Preventing race condition in DisposeAsync of GrpcProtocolHandler to prevent unhandled exception

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1797

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

… prevent unhandled exception

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
@WhitWaldo WhitWaldo merged commit 843b73a into dapr:master May 3, 2026
277 of 279 checks passed
@WhitWaldo WhitWaldo deleted the grpc-dispose-exception branch May 3, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dapr.Workflow: GrpcProtocolHandler.DisposeAsync throws ObjectDisposedException from WorkflowWorker.StopAsync during host shutdown

1 participant