You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Adam Debreceni (Jira)" <ji...@apache.org> on 2020/07/20 14:55:00 UTC
[jira] [Updated] (MINIFICPP-1300) FlowController circularly
referenced through ScheduleAgents
[ 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)