mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-25 18:14:27 +01:00
Add missing close of attachment input stream
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user