diff --git a/Sources/MQTTNIO/PingreqHandler.swift b/Sources/MQTTNIO/PingreqHandler.swift index e560b3bc..a9fda64c 100644 --- a/Sources/MQTTNIO/PingreqHandler.swift +++ b/Sources/MQTTNIO/PingreqHandler.swift @@ -36,11 +36,6 @@ final class PingreqHandler: ChannelDuplexHandler { context.fireChannelActive() } - func channelRead(context: ChannelHandlerContext, data: NIOAny) { - self.lastEventTime = .now() - context.fireChannelRead(data) - } - func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise?) { self.lastEventTime = .now() context.write(data, promise: promise)