Skip to content

Commit 5cb3f3f

Browse files
authored
Correctly state what jl_atexit_hook calls (#29833)
1 parent 01155e1 commit 5cb3f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/devdocs/init.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ the stack now rapidly unwinds back to `main()`.
220220
## `jl_atexit_hook()`
221221
222222
`main()` calls [`jl_atexit_hook()`](https://github.com/JuliaLang/julia/blob/master/src/init.c).
223-
This calls `_atexit` for each module, then calls [`jl_gc_run_all_finalizers()`](https://github.com/JuliaLang/julia/blob/master/src/gc.c)
223+
This calls `Base._atexit`, then calls [`jl_gc_run_all_finalizers()`](https://github.com/JuliaLang/julia/blob/master/src/gc.c)
224224
and cleans up libuv handles.
225225
226226
## `julia_save()`

0 commit comments

Comments
 (0)