funky-eyes commented on code in PR #7559: URL: https://github.com/apache/incubator-seata/pull/7559#discussion_r2297248950
########## rm-datasource/src/main/java/org/apache/seata/rm/datasource/DataSourceProxy.java: ########## @@ -452,4 +452,9 @@ private void validMySQLVersion(Connection connection) { LOGGER.error("check mysql version fail error: {}", e.getMessage()); } } + + public void close() throws Exception { + DefaultResourceManager.get().unregisterResource(this); Review Comment: The unregisterResource method of DataSourceManager throws a NotSupportYetException with the message "unregister a resource". -- 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: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org