MCPcopy Create free account
hub / github.com/antlr/codebuff / afterDone

Method afterDone

output/java_guava/1.4.16/TimeoutFuture.java:132–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130 }
131
132 @Override
133 protected void afterDone() {
134 maybePropagateCancellation(delegateRef);
135 Future<?> localTimer = timer;
136 // Try to cancel the timer as an optimization.
137 // timer may be null if this call to run was by the timer task since there is no happens-before
138 // edge between the assignment to timer and an execution of the timer task.
139 if (localTimer != null) {
140 localTimer.cancel(false);
141 }
142 delegateRef = null;
143 timer = null;
144 }
145}

Callers

nothing calls this directly

Calls 2

cancelMethod · 0.45

Tested by

no test coverage detected