mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -04:00
Fix file handles being left open on windows builds
This commit is contained in:
parent
5c11a94511
commit
46867ec0cf
@ -219,7 +219,7 @@ LowLevelFile::LowLevelFile ()
|
||||
|
||||
LowLevelFile::~LowLevelFile ()
|
||||
{
|
||||
if (mHandle == INVALID_HANDLE_VALUE)
|
||||
if (mHandle != INVALID_HANDLE_VALUE)
|
||||
CloseHandle (mHandle);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user