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

Method close

app/src/processing/app/SerialMonitor.java:140–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 }
139
140 @Override
141 public void close() throws Exception {
142 super.close();
143 if (serial != null) {
144 int[] location = getPlacement();
145 String locationStr = PApplet.join(PApplet.str(location), ",");
146 PreferencesData.set("last.serial.location", locationStr);
147 serial.dispose();
148 serial = null;
149 }
150 }
151
152}

Callers 9

SerialMonitorMethod · 0.95
inputStreamToStringMethod · 0.45
findClassInZipFileMethod · 0.45
selectSerialPortMethod · 0.45
handleSerialMethod · 0.45
handleQuitMethod · 0.45

Calls 5

joinMethod · 0.95
strMethod · 0.95
setMethod · 0.95
getPlacementMethod · 0.45
disposeMethod · 0.45

Tested by 2

inputStreamToStringMethod · 0.36