mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-11 22:01:25 -07:00
Fix #1606 (Call runtime._cleanup_runtime_contextless() for os.exit)
This commit is contained in:
@@ -459,6 +459,11 @@ _cleanup_runtime :: proc() {
|
||||
default_temp_allocator_destroy(&global_default_temp_allocator_data)
|
||||
}
|
||||
|
||||
_cleanup_runtime_contextless :: proc "contextless" () {
|
||||
context = default_context()
|
||||
_cleanup_runtime()
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////
|
||||
/////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user