Fix potential race

This commit is contained in:
Andrew Steinborn
2018-09-16 15:35:25 -04:00
parent 291069af80
commit 037dceb599

View File

@@ -62,6 +62,7 @@ public class PingSessionHandler implements MinecraftSessionHandler {
@Override
public void exception(Throwable throwable) {
completed = true;
result.completeExceptionally(throwable);
}
}