Skip to content

Commit

Permalink
Fix #3062: Fix missing file close call during IMG unloading (#3063)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Jun 11, 2023
1 parent 94c16e1 commit 1c277b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/mods/deathmatch/logic/CClientIMG.cpp
Expand Up @@ -32,6 +32,9 @@ CClientIMG::~CClientIMG()
m_pImgManager->RemoveFromList(this);
if (IsStreamed())
StreamDisable();

if (m_ifs.is_open())
Unload();
}

bool CClientIMG::Load(fs::path filePath)
Expand Down

0 comments on commit 1c277b5

Please sign in to comment.