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 Hunyadi (Jira)" <ji...@apache.org> on 2021/02/15 08:18:00 UTC

[jira] [Resolved] (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 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)