Skip to content

Commit

Permalink
Correct flush and close order
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Aug 12, 2024
1 parent 59045b8 commit 865de2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public void save() {

writer.write(json);

writer.close();
writer.flush();
writer.close();
} catch (IOException exception) {
exception.printStackTrace();
}
Expand Down

0 comments on commit 865de2e

Please sign in to comment.