fix problem with temp file on win8

This commit is contained in:
Manfred Karrer 2014-07-09 14:23:29 +02:00
parent 7ef9481876
commit 8509c60485

View file

@ -232,6 +232,7 @@ public class Storage
// to not write through to physical media for at least a few seconds, but this is the best we can do.
fileOutputStream.flush();
fileOutputStream.getFD().sync();
fileOutputStream.close();
FileUtil.writeTempFileToFile(tempFile, storageFile);
} catch (IOException e)