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);
|
CC_BREAK_IF(!fileStream);
|
||||||
|
|
||||||
fileStream->write(data, dataSize);
|
fileStream->write(data, dataSize);
|
||||||
fileStream->close();
|
|
||||||
delete fileStream;
|
delete fileStream;
|
||||||
return true;
|
return true;
|
||||||
} while (0);
|
} while (0);
|
||||||
|
|
Loading…
Reference in New Issue