MCPcopy
hub / github.com/arduino/Arduino / close

Method close

app/src/processing/app/NetworkMonitor.java:154–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 }
153
154 @Override
155 public void close() throws Exception {
156 super.close();
157
158 if (channel != null) {
159 inputConsumer.stop();
160 channel.disconnect();
161 textArea.setText("");
162 }
163
164 if (session != null) {
165 session.disconnect();
166 }
167 }
168
169}

Callers

nothing calls this directly

Calls 2

stopMethod · 0.65
setTextMethod · 0.45

Tested by

no test coverage detected