chore: remove old LEAN_AUTO_THREAD_FINALIZATION workaround
3 files changed