From: David ‘Bombe’ Roden Date: Sat, 16 Mar 2013 00:52:48 +0000 (+0100) Subject: Flush stdin after every write. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=631032005069a2013cc80bf5471d2a6c6eccd065;p=sonitus.git Flush stdin after every write. --- 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 5b4fc2c..fa3a2d8 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java +++ b/src/main/java/net/pterodactylus/sonitus/data/filter/ExternalFilter.java @@ -115,6 +115,7 @@ public abstract class ExternalFilter implements Filter { @Override protected void feed(byte[] buffer) throws IOException { processInput.write(buffer); + processInput.flush(); } @Override