adamdebreceni commented on code in PR #1444:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1444#discussion_r1011744400


##########
extensions/http-curl/processors/InvokeHTTP.cpp:
##########
@@ -334,6 +334,10 @@ void InvokeHTTP::onTriggerWithClient(const 
std::shared_ptr<core::ProcessContext>
 
   logger_->log_debug("onTrigger InvokeHTTP with %s to %s", 
client.getRequestMethod(), client.getURL());
 
+  const auto remove_callback_from_client_at_exit = gsl::finally([&client] {
+    client.setUploadCallback({});

Review Comment:
   we can address this and any related issues with ResourceQueue in 
https://issues.apache.org/jira/browse/MINIFICPP-1973



-- 
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: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to