in core/src/com/jediterm/terminal/TerminalStarter.java [76:93]
private void doStartEmulator() {
try {
while ((!Thread.currentThread().isInterrupted() && !myStopped) && myEmulator.hasNext()) {
myEmulator.next();
}
}
catch (InterruptedIOException e) {
LOG.debug("Terminal I/0 has been interrupted");
}
catch (Exception e) {
if (myTtyConnector.isConnected()) {
throw new RuntimeException("Uncaught exception in terminal emulator thread", e);
}
}
finally {
myTerminal.disconnected();
}
}