()
| 485 | } |
| 486 | |
| 487 | public void close() throws Exception { |
| 488 | if (serial != null) { |
| 489 | super.close(); |
| 490 | int[] location = getPlacement(); |
| 491 | String locationStr = PApplet.join(PApplet.str(location), ","); |
| 492 | PreferencesData.set("last.serial.location", locationStr); |
| 493 | serial.dispose(); |
| 494 | serial = null; |
| 495 | } |
| 496 | } |
| 497 | } |
no test coverage detected