mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-21 07:56:56 +08:00
Fix NetReplayHelper [no ci]
This commit is contained in:
parent
3da565ab02
commit
511d1fa4f8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user