mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add missing close of attachment input stream
This commit is contained in:
parent
8bfef24ef7
commit
c542fb87cb
1 changed files with 1 additions and 0 deletions
|
@ -1320,6 +1320,7 @@ class Manager implements Signal {
|
|||
if (output != null) {
|
||||
output.close();
|
||||
}
|
||||
input.close();
|
||||
if (!tmpFile.delete()) {
|
||||
System.err.println("Failed to delete temp file: " + tmpFile);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue