| 25 | namespace jni { |
| 26 | |
| 27 | void JniFlowFile::remove() { |
| 28 | std::lock_guard<std::mutex> guard(session_mutex_); |
| 29 | if (ff_object) { |
| 30 | servicer_->attach()->DeleteGlobalRef(ff_object); |
| 31 | } |
| 32 | removed = true; |
| 33 | } |
| 34 | |
| 35 | } /* namespace jni */ |
| 36 | } /* namespace minifi */ |
no test coverage detected