[
https://issues.apache.org/jira/browse/MINIFICPP-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Debreceni updated MINIFICPP-1300:
--------------------------------------
Issue Type: Bug (was: Improvement)
> FlowController circularly referenced through ScheduleAgents
> -----------------------------------------------------------
>
> Key: MINIFICPP-1300
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1300
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Adam Debreceni
> Priority: Major
>
> FlowController holds shared_ptr-s to the different schedulers, which in turn
> hold shared_ptr-s to the FlowController instance, keeping it alive forever.
>
> ScheduleAgents should hold either a gsl::not_null<FlowController*> or at most
> a weak_ptr<FlowController>.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)