How to guarantee resource closing in a vert.x app?

前端 未结 0 500
予麋鹿
予麋鹿 2020-12-16 01:04

In java, exists the try-with-resources:

try(Connection c = driver.open... ) {

}

This guarantees that when the code exits the try block, the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题