mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
set daemon=False
This commit is contained in:
parent
0169f73f35
commit
d84b85b515
@ -276,7 +276,7 @@ def serve_files_in_background(interface, port, directory_to_serve=None):
|
||||
# except (KeyboardInterrupt, OSError):
|
||||
# httpd.server_close()
|
||||
|
||||
thread = threading.Thread(target=serve_forever, daemon=True)
|
||||
thread = threading.Thread(target=serve_forever, daemon=False)
|
||||
thread.start()
|
||||
|
||||
return httpd
|
||||
|
Loading…
Reference in New Issue
Block a user