Communication loop now interrupts after clearing the output of appli

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2016-12-04 12:41:05 -05:00
parent c877450b2b
commit 719d7ada3f

View File

@ -295,6 +295,9 @@ public class SocketConsoleApplicationShell implements Runnable, AutoCloseable {
// keep on going // keep on going
} }
reading.setRunning(false); reading.setRunning(false);
while (consoleManager.available()) {
waitASec();
}
socket.shutdownOutput(); socket.shutdownOutput();
} }