Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/186#discussion_r151273283
--- Diff: libminifi/include/core/ContentRepository.h ---
@@ -63,10 +63,13 @@ class ContentRepository : public
StreamManager<minifi::ResourceClaim> {
remove(streamId);
count_map_.erase(str);
return true;
+ } else {
+ return false;
}
+ } else {
+ remove(streamId);
--- End diff --
this will help with the case of power loss---
