You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this issue, @MuuXB!
When running with an existing FastAPI app, there seems to be no Server.instance. We should either find a reference to the uvicorn server or find another way to shutdown the app.
Description
My app is started using fastapi. I want to stop the service through a button. How to do it?
app.shutdown will report an exception.
The text was updated successfully, but these errors were encountered: