Brian Wieder ee31e95ecd Register shutdown code at import to hopefully get registered before any other atexit callbacks.
`atexit` callbacks are called in a LIFO order, meaning that since Jax currently registers its callback at runtime rather than import time, it gets called before any `atexit` callbacks registered at import time.

PiperOrigin-RevId: 662164776
2024-08-12 11:29:08 -07:00
..
2024-08-06 11:22:27 -07:00
2023-07-24 14:38:20 -07:00
2023-10-10 08:46:36 -07:00