We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SIGBREAK
1 parent b934b3d commit 411dd87Copy full SHA for 411dd87
uvicorn/server.py
@@ -28,6 +28,8 @@
28
signal.SIGINT, # Unix signal 2. Sent by Ctrl+C.
29
signal.SIGTERM, # Unix signal 15. Sent by `kill <pid>`.
30
)
31
+if sys.platform == "win32": # pragma: py-not-win32
32
+ HANDLED_SIGNALS += (signal.SIGBREAK,) # Windows signal 21. Sent by Ctrl+Break.
33
34
logger = logging.getLogger("uvicorn.error")
35
0 commit comments