1
0
Эх сурвалжийг харах

Merge pull request #1732 from miningmanna/main

Fix for ctrl-c not closing the pywebview window.
Rodja Trappe 1 жил өмнө
parent
commit
06ee5c4bf8

+ 1 - 1
nicegui/native_mode.py

@@ -106,7 +106,7 @@ def activate(host: str, port: int, title: str, width: int, height: int, fullscre
 
     mp.freeze_support()
     args = host, port, title, width, height, fullscreen, frameless, native.method_queue, native.response_queue
-    process = mp.Process(target=open_window, args=args, daemon=False)
+    process = mp.Process(target=open_window, args=args, daemon=True)
     process.start()
 
     Thread(target=check_shutdown, daemon=True).start()