Browse Source

remove redundant signals
(uvicorn is doing it already)

Rodja Trappe 1 năm trước cách đây
mục cha
commit
cfcb5c9939
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      examples/docker_image/app/main.py

+ 0 - 4
examples/docker_image/app/main.py

@@ -1,11 +1,7 @@
 import os
-import signal
 
 from nicegui import app, ui
 
-signal.signal(signal.SIGINT, app.shutdown)
-signal.signal(signal.SIGTERM, app.shutdown)
-
 
 @ui.page('/')
 def index():