-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[3006.x] Do not allow duplicate message ids #65247
Conversation
def7cae
to
7daf0a5
Compare
ddd7b9e
to
092d1ac
Compare
super().__init__(**kwargs) | ||
self.opts = opts | ||
self.socket_queue = socket_queue | ||
self._socket = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self._socket = None | |
self._socket = None | |
self.register_finalize_method(self.close) |
# pylint: disable=W1701 | ||
def __del__(self): | ||
self.close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# pylint: disable=W1701 | |
def __del__(self): | |
self.close() |
With the register_finalize_method
change above, this is no longer necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My review comments will be addressed in a separate PR
What does this PR do?
What issues does this PR fix or reference?
Fixes: #65114
Previous Behavior
Remove this section if not relevant
New Behavior
Remove this section if not relevant
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
Yes/No
Please review Salt's Contributing Guide for best practices.
See GitHub's page on GPG signing for more information about signing commits with GPG.