Remove unnecessary method call to close FileStream

This commit is contained in:
rh101 2021-04-26 08:55:07 +10:00
parent bceabe87c1
commit d51edf3bfa
1 changed files with 0 additions and 1 deletions

View File

@ -507,7 +507,6 @@ bool FileUtils::writeBinaryToFile(const void* data, size_t dataSize, const std::
CC_BREAK_IF(!fileStream);
fileStream->write(data, dataSize);
fileStream->close();
delete fileStream;
return true;
} while (0);