Use TL::remove rather than TL::set(null)

This commit is contained in:
Per Minborg
2020-12-10 18:02:45 +01:00
parent 49b58862b9
commit b94f45378e
@@ -36,7 +36,7 @@ public abstract class CachingCreatingMarshaller<V>
if (wire.bytes().readRemaining() == size) {
out.write(wire.bytes());
wire.bytes().clear();
LAST_TL.set(null);
LAST_TL.remove();
return;
}
}