mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00: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