Skip to content

Conversation

obnjed
Copy link

@obnjed obnjed commented Sep 22, 2020

This code (self._messages[topic] = []) in "subscribe" and "listen" will abandon some messages that would not return to scripts when multiple messages received and multiple “subscribe” or “listen” called in very short time.

This modification suites to repair the deficiency above.

This code (self._messages[topic] = []) in "subscribe" and "listen" will abandon some messages that would not return to scripts when multiple messages received and multiple “subscribe” or “listen” called in very short time.

This modification suites to repair the deficiency above.
@randomsync
Copy link
Owner

Hi @obnjed thanks for the PR. Can you provide a test that reproduces the issue?

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.

2 participants