diff --git a/src/streamHandler/PacketStreamFactory.js b/src/streamHandler/PacketStreamFactory.js index 340b9f5..b587673 100644 --- a/src/streamHandler/PacketStreamFactory.js +++ b/src/streamHandler/PacketStreamFactory.js @@ -51,6 +51,7 @@ class PacketStreamFactory extends Transform{ const err = "Chunk was invalid!"; logger.error(err); next(err); + return; } let packet = new Packet();