[
https://issues.apache.org/jira/browse/MINIFICPP-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Hunyadi resolved MINIFICPP-1300.
-------------------------------------
Resolution: Fixed
> 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
> Assignee: Adam Hunyadi
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> 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)