7becd572bc813ea76ceed2e74e83756b3c0102cd97177196b906e2466e2ec9a0a371651c0bc3e67ec07951da1d0176


로깅 push 하려고 atexit.regisster() 써봤는데 (이건 또 왜 디시 게시글에서 못쓰는 단어로 필터링되네)

cannot schedule new futures after interpreter shutdown 출력되는데 interpreter shutdown은 처음봄


atexit._run_exitfuncs          # interpreter shutdown phase
 └─ _push_on_exit
     └─ asyncio.run(_do_push)
         └─ aiohttp.ClientSession()
             └─ loop.run_in_executor(...)  ← 여기서 ThreadPoolExecutor 거부
                 RuntimeError: cannot schedule new futures after interpreter shutdown

async로 쓰던거 동기로 바꾸니까 실행은 되는데 전혀 생각 못했던거라 머리가 띵해