mirror of
https://github.com/layue13/MoonBridge.git
synced 2026-10-26 19:03:49 +00:00
End pending Forge world transition on session close
This commit is contained in:
1 parent
9e60e162c7
commit
2bd7902556
1 file changed
+1
@@ -1070,6 +1070,7 @@ final class Session extends ChannelInboundHandlerAdapter {
|
||||
if (activeTransfer.cutoverDeadline != null) activeTransfer.cutoverDeadline.cancel(false);
|
||||
if (activeTransfer.channel != null) activeTransfer.channel.close();
|
||||
if (activeTransfer.candidate != null) activeTransfer.candidate.close();
|
||||
if (activeTransfer.frameState != null) activeTransfer.frameState.close();
|
||||
activeTransfer.result.complete(TransferResult.failed("player session closed during transfer"));
|
||||
}
|
||||
if (identityClaimed) owner.releaseIdentity(identity.playerId(), this);
|
||||
|
||||
Reference in new issue
Block a user