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

    https://github.com/apache/nifi-minifi-cpp/pull/134#discussion_r137863977
  
    --- Diff: libminifi/include/core/Processor.h ---
    @@ -153,7 +154,8 @@ class Processor : public Connectable, public 
ConfigurableComponent, public std::
       }
       // decrement Active Task Counts
       void decrementActiveTask(void) {
    -    active_tasks_--;
    +    if (active_tasks_ > 0)
    +      active_tasks_--;
    --- End diff --
    
    One has to wonder how we could get into this condition in the first place. 
Is there a bug/race somewhere else?


---

Reply via email to