bbende commented on code in PR #10812:
URL: https://github.com/apache/nifi/pull/10812#discussion_r2733015613
##########
nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/scheduling/StandardProcessScheduler.java:
##########
@@ -441,6 +441,12 @@ public void onTaskComplete() {
};
LOG.info("Starting {}", procNode);
+
+ if (procNode.isReloadAdditionalResourcesNecessary()) {
+ try (final NarCloseable ignored =
NarCloseable.withComponentNarLoader(extensionManager,
procNode.getComponent().getClass(), procNode.getIdentifier())) {
Review Comment:
Ok I would be interested to see the stacktrace just to understand... if we
do need to use `NarCloseable` somewhere, it seems like it should be further
inside the reload method, since otherwise we would be wrapping the whole reload
with the ClassLoader that is being removed half way through
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]