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] [Created] (MINIFICPP-1300) FlowController circularly referenced through ScheduleAgents

Adam Debreceni created MINIFICPP-1300:
-----------------------------------------

             Summary: FlowController circularly referenced through ScheduleAgents
                 Key: MINIFICPP-1300
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1300
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Adam Debreceni


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)