mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-03-15 10:26:37 -04:00
fix problem with temp file on win8
This commit is contained in:
parent
7ef9481876
commit
8509c60485
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user