Fix #1606 (Call runtime._cleanup_runtime_contextless() for os.exit)
This commit is contained in:
1 parent
8e4d6b3e5d
commit
17eebf338c
7 files changed
+14
No files matched your search
@@ -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