projects
/
sonitus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close all streams when finishing.
[sonitus.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sonitus
/
data
/
filter
/
ExternalFilter.java
diff --git
a/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java
b/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java
index
3b2b6b1
..
5b4fc2c
100644
(file)
--- a/
src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java
+++ b/
src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java
@@
-120,6
+120,8
@@
public abstract class ExternalFilter implements Filter {
@Override
protected void finish() throws IOException {
processInput.close();
@Override
protected void finish() throws IOException {
processInput.close();
+ processOutput.close();
+ processError.close();
}
}).start();
} catch (IOException ioe1) {
}
}).start();
} catch (IOException ioe1) {