taskiq-python / taskiq

Distributed task queue with full async support
MIT License
866 stars 52 forks source link

Fix shutdown middleware hook #357

Closed hawang-wish closed 2 months ago

hawang-wish commented 2 months ago

Hi,

Thank you for creating this awesome package!

I have spotted a potential typo issue that stops our shutdown middleware hook from working properly.

I have thought that perhaps I could add some tests, but I've then decided to make it in another PR just to reduce some of my work.

Please feel free to comment, and let me know in case you prefer to have tests for this PR.