Skip to content

Commit

Permalink
Fix failed java build
Browse files Browse the repository at this point in the history
I think this was a bug from d4503a1.
  • Loading branch information
fishy committed Aug 14, 2024
1 parent a4ebb75 commit 0287d82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ private synchronized void rebuildSelector() {
} else {
newKey = channel.register(newSelector, interestOpts, attachment);
if (attachment instanceof FrameBuffer) {
((FrameBuffer) attachment.setSelectionKey(newKey);
((FrameBuffer) attachment).setSelectionKey(newKey);
}
}
} catch (ClosedChannelException e) {
Expand Down

0 comments on commit 0287d82

Please sign in to comment.