mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
contextless fixes for js
This commit is contained in:
Vendored
+1
-1
@@ -169,7 +169,7 @@ exit :: proc "c" (exit_code: c.int) -> ! {
|
||||
}
|
||||
|
||||
@(private, fini)
|
||||
finish_atexit :: proc "c" () {
|
||||
finish_atexit :: proc "contextless" () {
|
||||
n := intrinsics.atomic_exchange(&atexit_functions_count, 0)
|
||||
for function in atexit_functions[:n] {
|
||||
function()
|
||||
|
||||
Reference in New Issue
Block a user