fix: Bypass signal handler if running in a thread (#3251)
* Bypass signal handler if running in a thread - enables full sync compatibility if `run_sync=True` * Ruff 🐶 * Refactor to use a context manager * Add tests * Add tests for executor factory when not in main thread * Fix executor factory logic
D
Dustin Ngo committed
8c8230606d173a55a2f84b2fbdbb48e920cbdb70
Parent: 3f58c4b
Committed by GitHub <noreply@github.com>
on 5/21/2024, 8:15:16 PM