smengcl commented on code in PR #4568:
URL: https://github.com/apache/ozone/pull/4568#discussion_r1179515860
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmSnapshot.java:
##########
@@ -260,6 +260,16 @@ public void close() throws IOException {
omMetadataManager.getStore().close();
}
+ @Override
+ protected void finalize() throws Throwable {
Review Comment:
good point. I've tweaked the logic a bit and added logging.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]