We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeaed56 commit b2158e0Copy full SHA for b2158e0
smile/src/main/java/com/fasterxml/jackson/dataformat/smile/SmileParserBase.java
@@ -398,7 +398,9 @@ public final void close() throws IOException {
398
_inputEnd = 0;
399
_symbols.release();
400
// 30-May-2025, tatu: was missing before 2.20
401
- _currToken = null;
+ if (JsonParser.Feature.CLEAR_CURRENT_TOKEN_ON_CLOSE.enabledIn(_features)) {
402
+ _currToken = null;
403
+ }
404
try {
405
_closeInput();
406
} finally {
0 commit comments