From 82f2edac1a348b274c177abf5581b089cdf2e527 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sat, 21 Oct 2023 12:16:34 -0400 Subject: attach params/lettering simulator window and allow detach (#2557) --- lib/utils/threading.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/utils/threading.py') diff --git a/lib/utils/threading.py b/lib/utils/threading.py index f0c22887..f774dcbe 100644 --- a/lib/utils/threading.py +++ b/lib/utils/threading.py @@ -17,6 +17,7 @@ _default_stop_flag = threading.Event() def check_stop_flag(): + # This getattr() actually looks at the PreviewRenderer instance's stop attribute. if getattr(threading.current_thread(), 'stop', _default_stop_flag).is_set(): debug.log("exiting thread") raise ExitThread() -- cgit v1.2.3