sfc-gh-rpaulin commented on code in PR #10812:
URL: https://github.com/apache/nifi/pull/10812#discussion_r2733003192


##########
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:
   I had originally written the code without it and I got an error that the 
code could not find one of the DBCP classes.  I can remove it to provide the 
exact error but it does not appear to work properly without it.  



-- 
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]

Reply via email to