|
|
@ -161,8 +161,8 @@ public class ShellImpl implements Shell {
|
|
|
|
} catch (Throwable t) {
|
|
|
|
} catch (Throwable t) {
|
|
|
|
// sometimes an NPE will be thrown during shutdown via web-socket,
|
|
|
|
// sometimes an NPE will be thrown during shutdown via web-socket,
|
|
|
|
// this ensures the shutdown process is finished properly
|
|
|
|
// this ensures the shutdown process is finished properly
|
|
|
|
// see more: middleware-container/arthas/issues/206
|
|
|
|
// https://github.com/alibaba/arthas/issues/320
|
|
|
|
logger.error("ARTHAS-206", "Error writing data:", t);
|
|
|
|
logger.error("ARTHAS", "Error writing data:", t);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
term.close();
|
|
|
|
term.close();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|