mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 14:42:37 +01:00
fix problem with temp file on win8
This commit is contained in:
parent
7ef9481876
commit
8509c60485
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue