You should close the stream to make sure all data gets written to the device. But note, that when you destroy the stream object, it syncs the device, so that no data gets lost. So in most cases you don't have to close the stream, because it'll be closed a while later.





Reply With Quote
Bookmarks