Skip to content

Commit

Permalink
filesystem: Use Trace_FClose in CPackFile's destructor (should fix pa…
Browse files Browse the repository at this point in the history
…k files never closed on exit warnings)
  • Loading branch information
tyabus committed Sep 3, 2023
1 parent df37b9b commit 4dff8b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filesystem/basefilesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ inline CPackFile::~CPackFile()

if ( m_hPackFileHandleFS )
{
m_fs->FS_fclose( m_hPackFileHandleFS );
m_fs->Trace_FClose( m_hPackFileHandleFS );
m_hPackFileHandleFS = NULL;
}

Expand Down

0 comments on commit 4dff8b6

Please sign in to comment.