Potential fix for code scanning alert no. 120: Empty except

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
kevinveenbirkenbachandCopilot Autofix powered by AI authored and GitHub committed 2025-12-21 11:42:31 +01:00
1 parent 9e72a8fd04
commit d3020ce1a4
1 file changed
+1
+1
View File
@@ -15,6 +15,7 @@ def init_multiprocessing() -> None:
if get_start_method(allow_none=True) != "spawn":
set_start_method("spawn", force=True)
except RuntimeError:
# The start method can only be set once per interpreter; ignore if it was set elsewhere.
pass
# Prefer system audio backend by default (prevents simpleaudio segfaults in child processes)