mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-18 15:07:43 +01:00
Fix potential race
This commit is contained in:
@@ -62,6 +62,7 @@ public class PingSessionHandler implements MinecraftSessionHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void exception(Throwable throwable) {
|
public void exception(Throwable throwable) {
|
||||||
|
completed = true;
|
||||||
result.completeExceptionally(throwable);
|
result.completeExceptionally(throwable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user