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

Standardize onShutdownCtx #2568

Merged
merged 2 commits into from
Dec 31, 2023
Merged

Standardize onShutdownCtx #2568

merged 2 commits into from
Dec 31, 2023

Conversation

dhrubabasu
Copy link
Contributor

Why this should be merged

This feels more readable to me

How this works

mostly renames

How this was tested

CI

@dhrubabasu dhrubabasu added the cleanup Code quality improvement label Dec 31, 2023
@dhrubabasu dhrubabasu added this to the v1.10.18 milestone Dec 31, 2023
@dhrubabasu dhrubabasu self-assigned this Dec 31, 2023
startShutdown context.CancelFunc
awaitShutdown sync.WaitGroup
// Cancelled on shutdown
onShutdownCtx context.Context
Copy link
Contributor Author

@dhrubabasu dhrubabasu Dec 31, 2023

Choose a reason for hiding this comment

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

This technically is not needed in the VM struct for this PR. In a follow-up, we'll use it to cleanup the mempool pruner: #2566

@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 31, 2023
Merged via the queue into dev with commit f56ff2e Dec 31, 2023
17 checks passed
@StephenButtolph StephenButtolph deleted the standardize-cancel-func branch December 31, 2023 21:01
pull bot pushed a commit to AKAJOKER2/avalanchego that referenced this pull request Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants