From d29ea95b773a5bde1b9f73c96625d991ca803242 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 16 Mar 2013 01:51:15 +0100 Subject: [PATCH] Close all streams when finishing. --- src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.7.4