Skip to content

Commit

Permalink
fix: del unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
xianml committed Jan 3, 2025
1 parent 0f5e8a4 commit 4379b59
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions uvicorn/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ async def _serve(self, sockets: list[socket.socket] | None = None) -> None:

await self.startup(sockets=sockets)
# FIX: make sure always execute the shutdown logic, even if server received a signal during startup
# if self.should_exit:
# return
await self.main_loop()
await self.shutdown(sockets=sockets)

Expand Down

0 comments on commit 4379b59

Please sign in to comment.