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: breaker should emit a shutdown event when it is shutdown #625

Merged
merged 2 commits into from
Jan 7, 2022

Conversation

lholmquist
Copy link
Member

fixes #620

currently, when shutdown is called, it removes all the listeners before it emits the shutdown event, this moves the call to emit the shutdown event before the listeners are removed

@lholmquist lholmquist requested a review from lance January 7, 2022 14:24
@lholmquist
Copy link
Member Author

@leejh3224 i think this should do it

Copy link
Member

@lance lance left a comment

Choose a reason for hiding this comment

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

Teeny tiny nit

README.md Outdated Show resolved Hide resolved
Co-authored-by: Lance Ball <[email protected]>
@lholmquist lholmquist merged commit ea4d058 into nodeshift:main Jan 7, 2022
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.

[BUG] 'shutdown' event is not able to be fired
2 participants