We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5b505 commit 239e850Copy full SHA for 239e850
src/com/facebook/buck/rules/modern/builders/HybridLocalStrategy.java
@@ -278,6 +278,10 @@ public ListenableFuture<?> rescheduleLocally(Throwable reason) {
278
279
public boolean cancelDelegateLocked(Throwable reason) {
280
Verify.verify(Thread.holdsLock(this));
281
+ if (delegateResult == null) {
282
+ LOG.debug("Nothing to cancel.");
283
+ return false;
284
+ }
285
286
StrategyBuildResult capturedDelegateResult = Objects.requireNonNull(delegateResult);
287
if (capturedDelegateResult.getBuildResult().isDone()) {
0 commit comments