mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
Fix #4406 os2 to not close the std file handles but rather just free the memory for the ^File data.
This commit is contained in:
@@ -50,9 +50,9 @@ init_std_files :: proc() {
|
||||
}
|
||||
@(fini)
|
||||
fini_std_files :: proc() {
|
||||
close(stdin)
|
||||
close(stdout)
|
||||
close(stderr)
|
||||
_destroy((^File_Impl)(stdin.impl))
|
||||
_destroy((^File_Impl)(stdout.impl))
|
||||
_destroy((^File_Impl)(stderr.impl))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user