msharee9 commented on a change in pull request #743: Minificpp 1169 - Simplify
C2 metrics collection and reporting
URL: https://github.com/apache/nifi-minifi-cpp/pull/743#discussion_r392346281
##########
File path: libminifi/src/FlowController.cpp
##########
@@ -172,6 +173,9 @@ void FlowController::initializePaths(const std::string
&adjustedFilename) {
FlowController::~FlowController() {
stop(true);
+ if (c2_agent_)
+ c2_agent_->stop();
+ thread_pool_.shutdown();
Review comment:
We do stop the schedulers before stopping threadpool here. Look at line #
175.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services