Skip to content

Commit 4379b59

Browse files
committed
fix: del unused code
1 parent 0f5e8a4 commit 4379b59

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

uvicorn/server.py

-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ async def _serve(self, sockets: list[socket.socket] | None = None) -> None:
8484

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

0 commit comments

Comments
 (0)