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

Task was destroyed but it is pending! #289

Open
Saadelkheety opened this issue Nov 17, 2023 · 0 comments
Open

Task was destroyed but it is pending! #289

Saadelkheety opened this issue Nov 17, 2023 · 0 comments

Comments

@Saadelkheety
Copy link

The error message is telling us that a task was destroyed, but it's still pending. Specifically, we have a task with the name 'Task-1672902' that was in the middle of running the handle_messages() function at /usr/local/lib/python3.8/site-packages/quart/asgi.py:56. But for some reason, it got destroyed before it could complete.

The message:
Task was destroyed but it is pending!
task: <Task pending name='Task-1672902' coro=<ASGIHTTPConnection.handle_messages() running at /usr/local/lib/python3.8/site-packages/quart/asgi.py:56> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7feb66ff0190>()]>>

Environment:

  • Python version: 3.8.12
  • Quart version: 0.19.3
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

No branches or pull requests

1 participant