Github user phrocker commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/43#discussion_r100845047
  
    --- Diff: libminifi/src/Processor.cpp ---
    @@ -439,31 +447,25 @@ bool Processor::flowFilesOutGoingFull()
        return false;
     }
     
    -void Processor::onTrigger()
    +void Processor::onTrigger(ProcessContext *context, ProcessSessionFactory 
*sessionFactory)
     {
    -   ProcessContext *context = new ProcessContext(this);
    -   ProcessSession *session = new ProcessSession(context);
    +   auto session = sessionFactory->createSession();
    --- End diff --
    
    Thanks. I can remove this off of my my todo. fantastic!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to