FlyingZC commented on issue #21156:
URL: 
https://github.com/apache/shardingsphere/issues/21156#issuecomment-1262270840

   Execute `System.gc()` is the bad way I think.Both 
`Configuration.removeResource(resName)` and 
`com.atomikos.icatch.config.Configuration#removeAndCloseResources` methods are 
not in the JTA specification.I think just remove the logic in the 
`org.apache.shardingsphere.transaction.xa.atomikos.manager.AtomikosTransactionManagerProvider#removeRecoveryResource`
 and then let atomikos execute its own close logic.


-- 
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]

Reply via email to