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

Method close

android/src/OutputThread.java:56–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 synchronized void close() {
57 OutputStream os2 = os;
58 if (os2 == null)
59 return;
60
61 os = null;
62
63 try {
64 os2.close();
65 } catch (IOException e) {
66 }
67
68 notifyAll();
69 }
70
71 synchronized boolean drain() {
72 final long TIMEOUT = 5000;

Callers 2

runMethod · 0.95
closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected