tillrohrmann commented on a change in pull request #16345: URL: https://github.com/apache/flink/pull/16345#discussion_r663113670
########## File path: flink-rpc/flink-rpc-core/src/main/java/org/apache/flink/runtime/rpc/RpcSystem.java ########## @@ -51,6 +51,9 @@ RpcServiceBuilder remoteServiceBuilder( @Nullable String externalAddress, String externalPortRange); + /** Hook to cleanup resources, like common thread pools or classloaders. */ + void cleanup(); Review comment: One downside is that the call sites are harder to find via `find usages`. -- 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...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org