Skip to content

Suppress exceptions from HubLifetimeManager.Dispose()#157

Open
JorgeCandeias wants to merge 7 commits into
OrleansContrib:3.xfrom
JorgeCandeias:feature/suppress-exceptions-from-hublifetimemanager-dispose
Open

Suppress exceptions from HubLifetimeManager.Dispose()#157
JorgeCandeias wants to merge 7 commits into
OrleansContrib:3.xfrom
JorgeCandeias:feature/suppress-exceptions-from-hublifetimemanager-dispose

Conversation

@JorgeCandeias

Copy link
Copy Markdown

This PR suppresses exceptions being thrown from OrleansHubLifetimeManager<T> while disposing itself.
It also implements the full async disposable pattern as to be more friendly with the NET6+ Service Provider.

The reason for this PR is that this was causing a red herring for us, by hiding the root cause of another issue that was preventing a silo from starting.

Please note that this PR is based on #156 as we already have that in production. Therefore please address that one first.

Implemented full DisposeAsync pattern.
Refactored.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant