Skip to content

Commit c1ab7c3

Browse files
committed
fix: del unused code
1 parent 05b1ec2 commit c1ab7c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

uvicorn/server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ async def _serve(self, sockets: list[socket.socket] | None = None) -> None:
8383

8484
await self.startup(sockets=sockets)
8585
# FIX: make sure always execute the shutdown logic, even if server received a signal during startup
86-
# if self.should_exit:
87-
# return
8886
await self.main_loop()
8987
await self.shutdown(sockets=sockets)
9088

0 commit comments

Comments
 (0)