fateh288 commented on code in PR #369:
URL: https://github.com/apache/ranger/pull/369#discussion_r1697337077
##########
agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java:
##########
@@ -494,6 +497,9 @@ public void cleanup() {
if (policyEngine != null) {
((RangerPolicyEngineImpl)
policyEngine).releaseResources(true);
}
+ if (pluginAnalytics!=null) {
Review Comment:
I was adding it as a safety net based on other surrounding variables such as
policyEnginer. Not really required. Removed it on second thoughts since it is
never set to null unlike policyEngine.
--
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]