Skip to content

Ensure RunningEndpointInstance.DisposeAsync completes when host is disposed without StopAsync#7818

Merged
danielmarbach merged 1 commit into
release-10.2from
running
Jun 11, 2026
Merged

Ensure RunningEndpointInstance.DisposeAsync completes when host is disposed without StopAsync#7818
danielmarbach merged 1 commit into
release-10.2from
running

Conversation

@danielmarbach

@danielmarbach danielmarbach commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

…sposed without StopAsync (#7806)

* DisposeAsync should pass a bounded cancellation token to transport Shutdown

* .

* Update RunningEndpointInstance.cs

* .

* ,

* Update StartableEndpoint.cs

* Update RunningEndpointInstance.cs

* Remove shutdown token timeout since it would create akward split between dispose and shutdown. Instead cancel the token immediately on dispose.

* Core acceptance test

* Ignore exceptions during DisposeAsync to prevent throwing from disposal process

---------

Co-authored-by: Daniel Marbach <danielmarbach@users.noreply.github.com>
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.

3 participants