ARTEMIS-3459: use appropriate call to clear up, avoid creating unnecessary wrapper
This commit is contained in:
parent
f82cd797cb
commit
9b074e124e
|
@ -691,7 +691,7 @@ public abstract class AMQPMessage extends RefCountMessage implements org.apache.
|
|||
}
|
||||
}
|
||||
} finally {
|
||||
decoder.setByteBuffer(null);
|
||||
decoder.setBuffer(null);
|
||||
data.rewind();
|
||||
}
|
||||
this.messageDataScanned = MessageDataScanningStatus.SCANNED.code;
|
||||
|
|
Loading…
Reference in New Issue