mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-27 12:00:50 +01:00
Merge pull request #4262 from Sonicadvance1/fix_fileleak
Windows/CRT: Fixes FD leak
This commit is contained in:
1 file changed
+4
@@ -36,6 +36,10 @@ struct FILE {
|
||||
: Handle {Handle}
|
||||
, FileHandle {FileHandle}
|
||||
, Append {Append} {}
|
||||
|
||||
~FILE() {
|
||||
CloseHandle(Handle);
|
||||
}
|
||||
};
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in new issue
Block a user