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:
gingerBill
2024-12-01 11:54:52 +11:00
committed by flysand7
parent 1b7a32f76c
commit d5b6c25686
+3 -3
View File
@@ -50,9 +50,9 @@ init_std_files :: proc() {
} }
@(fini) @(fini)
fini_std_files :: proc() { fini_std_files :: proc() {
close(stdin) _destroy((^File_Impl)(stdin.impl))
close(stdout) _destroy((^File_Impl)(stdout.impl))
close(stderr) _destroy((^File_Impl)(stderr.impl))
} }