mirror of https://github.com/axmolengine/axmol.git
Remove unnecessary method call to close FileStream
This commit is contained in:
parent
bceabe87c1
commit
d51edf3bfa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue