mirror of https://github.com/apache/nifi.git
NIFI-11681: Terminate Process Sessions before interrupting processor threads
This closes #7371 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
15f8f872f6
commit
787e0d8261
|
@ -436,8 +436,8 @@ public final class StandardProcessScheduler implements ProcessScheduler {
|
|||
|
||||
LOG.debug("Terminating {}", procNode);
|
||||
|
||||
final int tasksTerminated = procNode.terminate();
|
||||
state.terminate();
|
||||
final int tasksTerminated = procNode.terminate();
|
||||
|
||||
getSchedulingAgent(procNode).incrementMaxThreadCount(tasksTerminated);
|
||||
|
||||
|
|
Loading…
Reference in New Issue