socketio.AsyncServer doesn't cancel background tasks #851
-
AsyncServer deployed with Sanic reports the following log message when app is shutdown with : Task was destroyed but it is pending! Shouldn't AsyncServer cancel / stop background tasks gracefully when app is shut? |
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Jan 15, 2022
Replies: 1 comment 3 replies
-
Which task is giving you this problem? Is the task really called |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
nsmkhn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which task is giving you this problem? Is the task really called
task_name
? I don't recognize that as being part of this package.