martinzink commented on code in PR #2205:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2205#discussion_r3473255281
##########
libminifi/include/utils/CProcessor.h:
##########
@@ -115,12 +115,16 @@ class CProcessor : public minifi::core::ProcessorApi {
}
bool getTriggerWhenEmpty() const override {
- return
static_cast<bool>(class_description_.callbacks.getTriggerWhenEmpty(impl_));
+ return trigger_when_empty_;
+ }
+
+ void setTriggerWhenEmpty(bool set_trigger_when_empty) override {
+ trigger_when_empty_ = set_trigger_when_empty;
}
Review Comment:
[added mutex
](https://github.com/apache/nifi-minifi-cpp/pull/2205/changes/dfacebe8c17298a2e4550c33f99c0ddad75d3231#diff-1f8478852b6003e35aeac03d11015d174561adc57186679858077a2c45ada952R185)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]