void close()
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/3ced75c3-0e34-4fc0-9a19-9d1d15c3b2b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
>> WebClient's implementation should be changed to a singleton within Vert.x
As I understand it, each client keeps its own pool. So there could be situations where we want more than one client instance because we want more than one pool, which would be impossible if it were a true singleton.
However, it seems that this may not have been as intuitive as it could have been in the docs. Perhaps we could add a finalize() method to webclient that cleans up the pool data and other resources when it is set to be GC'ed.