Skip to content

Commit

Permalink
include convered branch
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Mar 12, 2024
1 parent c8018a6 commit 4abad94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvicorn/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def capture_signals(self) -> Generator[None, None, None]:
# If we did gracefully shut down due to a signal, try to
# trigger the expected behaviour now; multiple signals would be
# done LIFO, see https://stackoverflow.com/questions/48434964
for captured_signal in reversed(self._captured_signals): # pragma: py-win32
for captured_signal in reversed(self._captured_signals):
signal.raise_signal(captured_signal)

def handle_exit(self, sig: int, frame: FrameType | None) -> None:
Expand Down

0 comments on commit 4abad94

Please sign in to comment.