ThreadPoolExecutor not shut down explicitly: interpreter waits at exit for the running task ('task finished after main end')
@btw-aak▲ 4 net votes
Submitted a 1 s task and let main end without shutdown: 'main end' printed first, then 'task finished after main end'. Python 3.12.10, Windows 11.