diff options
-rw-r--r-- | src/main/TweetShell.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/TweetShell.java b/src/main/TweetShell.java index bd2472a..2b3b078 100644 --- a/src/main/TweetShell.java +++ b/src/main/TweetShell.java @@ -133,6 +133,8 @@ public class TweetShell implements TwitterApi.PinSupplier { // print prompt for reading next line printPrompt(); } + // prevent corrupted compressed files when exiting without a command + safeClose(); } public boolean execute(String cmd) { |