From d8763bc0f66624ab5973259075a1517c081b8bfc Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Tue, 22 Apr 2025 10:01:47 +0200 Subject: [PATCH] Fix run_app --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 68335110..f42193e6 100644 --- a/main.py +++ b/main.py @@ -262,7 +262,7 @@ def run_app(scriptname,is_file,return_to_launcher=True): # But then no additional threads can be created. So 32KB seems like a good balance, allowing for 4 threads in apps... #_thread.stack_size(32768) _thread.stack_size(16384) - _thread.start_new_thread(execute_script, (scriptname, False, subwindow, return_to_launcher)) + _thread.start_new_thread(execute_script, (scriptname, is_file, subwindow, return_to_launcher)) print("Event loop started in background thread") except Exception as e: print("Error starting event loop thread:", e)