arpadboda commented on a change in pull request #777:
URL: https://github.com/apache/nifi-minifi-cpp/pull/777#discussion_r421499554
##########
File path: libminifi/src/FlowController.cpp
##########
@@ -248,9 +248,9 @@ int16_t FlowController::stop(bool force, uint64_t
timeToWait) {
this->timer_scheduler_->stop();
this->event_scheduler_->stop();
this->cron_scheduler_->stop();
+ thread_pool_.shutdown();
Review comment:
Your point related to the repos absolutely makes sense, I moved those
after shutdown of threadpool.
C2 tasks now have a dedicated threadpool, so I think such issues shoudn't
occur.
I did some tests to reconfigure the agent via C2 and flowcontroller restarts
always succeeded, so I hope this works at least as a temporary solution.
----------------------------------------------------------------
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]