From: David ‘Bombe’ Roden Date: Sat, 16 Mar 2013 00:51:15 +0000 (+0100) Subject: Close all streams when finishing. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d29ea95b773a5bde1b9f73c96625d991ca803242;p=sonitus.git Close all streams when finishing. --- 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 --- 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(); + processOutput.close(); + processError.close(); } }).start(); } catch (IOException ioe1) {