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

Method close

android/src/BluetoothServerPort.java:110–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 }
109
110 @Override public void close() {
111 closeServerSocket();
112
113 /* ensure that run() has finished before calling
114 MultiPort.close() */
115 try {
116 thread.join();
117 } catch (InterruptedException e) {
118 }
119
120 super.close();
121 }
122
123 @Override public int getState() {
124 if (serverSocket == null)

Callers 1

closeServerSocketMethod · 0.45

Calls 1

closeServerSocketMethod · 0.95

Tested by

no test coverage detected