Skip to content

Commit e540159

Browse files
StillGreen-sanRobLoach
authored andcommitted
reset bytesRead in FileData::Unload
1 parent 0186631 commit e540159

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/FileData.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class FileData {
4040
if (data != nullptr) {
4141
::UnloadFileData(data);
4242
data = nullptr;
43+
bytesRead = 0;
4344
}
4445
}
4546
private:

0 commit comments

Comments
 (0)