Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Safely shutdown when root_profile uninitialized #1960

Merged

Conversation

TheTechmage
Copy link
Contributor

If an exception was thrown during the initialization of the root_profile, we would throw an exception during shutdown and fail to end the process. This would leave ACA-Py running, without accepting/handling any further requests. Adding guards for shutdown code that uses the root_profile should avoid this situation

If an exception was thrown during the initialization of the
root_profile, we would throw an exception during shutdown and fail to
end the process. This would leave ACA-Py running, without
accepting/handling any further requests. Adding guards for shutdown code
that uses the root_profile should avoid this situation

Signed-off-by: Colton Wolkins (Indicio work address) <[email protected]>
@TheTechmage
Copy link
Contributor Author

I would like to nominate this commit for 0.7.5 as well

@swcurran swcurran added this to the Version 0.7.5 milestone Sep 28, 2022
@swcurran
Copy link
Contributor

PR added to the 0.7.5 milestone and reviews requested.

Copy link
Contributor

@ianco ianco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
4.1% 4.1% Duplication

@swcurran swcurran merged commit a900f90 into openwallet-foundation:main Oct 3, 2022
@TheTechmage TheTechmage deleted the frosty/shutdown-hang-fix branch October 6, 2022 19:27
@TheTechmage TheTechmage mentioned this pull request Oct 6, 2022
4 tasks
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.

3 participants