mirror of https://github.com/apache/nifi.git
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/nifi
This commit is contained in:
commit
69598a0b40
|
@ -1806,7 +1806,7 @@ public final class StandardProcessSession implements ProcessSession, ProvenanceE
|
||||||
reader.process(ffais);
|
reader.process(ffais);
|
||||||
|
|
||||||
// Allow processors to close the file after reading to avoid too many files open or do smart session stream management.
|
// Allow processors to close the file after reading to avoid too many files open or do smart session stream management.
|
||||||
if(!allowSessionStreamManagement){
|
if (this.currentReadClaimStream != null && !allowSessionStreamManagement) {
|
||||||
currentReadClaimStream.close();
|
currentReadClaimStream.close();
|
||||||
currentReadClaimStream = null;
|
currentReadClaimStream = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue