MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / close

Method close

android/src/MultiPort.java:100–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 @Override
101 public synchronized void close() {
102 error = true;
103
104 for (AndroidPort port : ports) {
105 try {
106 port.close();
107 } catch (IOException e) {
108 }
109 }
110
111 ports.clear();
112 }
113
114 @Override public int getState() {
115 return checkValid();

Callers 2

checkValidMethod · 0.45
writeMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected