Fix NetReplayHelper [no ci]

This commit is contained in:
Karlatemp 2021-11-20 17:40:58 +08:00
parent 3da565ab02
commit 511d1fa4f8
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -192,7 +192,7 @@ private fun attachNetReplayWView(channel: Channel) {
frame.setLocationRelativeTo(null)
frame.isVisible = true
channel.pipeline().addLast(object : ChannelInboundHandlerAdapter() {
channel.pipeline().addFirst(object : ChannelInboundHandlerAdapter() {
override fun channelInactive(ctx: ChannelHandlerContext?) {
SwingUtilities.invokeLater {
frame.dispose()