arpadboda commented on a change in pull request #624: CEM-462 CEM-417 Fixed.
URL: https://github.com/apache/nifi-minifi-cpp/pull/624#discussion_r312866284
 
 

 ##########
 File path: extensions/windows-event-log/ConsumeWindowsEventLog.h
 ##########
 @@ -97,6 +98,7 @@ class ConsumeWindowsEventLog : public core::Processor
   std::shared_ptr<core::ProcessSessionFactory> sessionFactory_;
   bool renderXML_{};
   MSXML2::IXMLDOMDocumentPtr xmlDoc_;
+  std::atomic<bool> processorStopped_ = false;
 
 Review comment:
   I think either init or onschedule should set it. 
   
   This way restart won't work as expected as it's never set back to false. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to