lordgamez commented on code in PR #2163:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2163#discussion_r3219846415


##########
libminifi/src/FlowController.cpp:
##########
@@ -130,6 +131,10 @@ std::expected<void, std::string> 
FlowController::applyConfiguration(const std::s
     std::lock_guard<std::recursive_mutex> flow_lock(mutex_);
     stop();
 
+    // Clear the controller services now that all timer callback threads have 
been stopped
+    clearControllerServices();
+    controller_service_provider_impl_ = 
flow_configuration_->getControllerServiceProvider();
+

Review Comment:
   Updated in 
https://github.com/apache/nifi-minifi-cpp/pull/2163/commits/3305e588ac894522dc39cadf2461a570b3c163d7



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