8000 Fix an issue with removing old listeners by jonatan1609 · Pull Request #2 · usernein/pyromod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix an issue with removing old listeners #2

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

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Fix an issue with removing old listeners #2

merged 1 commit into from
Mar 25, 2021

Conversation

jonatan1609
Copy link
Contributor

After the future is done it isn't removed from the listeners list because you compared the future with the dict that contains the future instead of the dict["future"].

After the future is done it isn't removed  from the listeners list because you compared the future with the dict that contains the future instead of the dict["future"].
@usernein usernein merged commit 2d71f19 into usernein:master Mar 25, 2021
@jonatan1609
Copy link
Contributor Author

🥉

@usernein
Copy link
Owner

Thank you! I took some minutes trying to understand what happened and i guess this code has been wrote without filters in mind, so the dict would be: {chat_id: future, chat_id2: another_future}

@jonatan1609 jonatan1609 deleted the patch-1 branch March 25, 2021 20:45
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
0