MCPcopy Index your code
hub / github.com/golang/mobile / run

Method run

bind/java/Seq.java:263–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261 GoRefQueue() {
262 Thread daemon = new Thread(new Runnable() {
263 @Override public void run() {
264 while (true) {
265 try {
266 GoRef ref = (GoRef)remove();
267 refs.remove(ref);
268 destroyRef(ref.refnum);
269 ref.clear();
270 } catch (InterruptedException e) {
271 // Ignore
272 }
273 }
274 }
275 });
276 daemon.setDaemon(true);
277 daemon.setName("GoRefQueue Finalizer Thread");

Callers 1

mainFunction · 0.45

Calls 3

removeMethod · 0.80
destroyRefMethod · 0.80
clearMethod · 0.80

Tested by

no test coverage detected