Would it make sense to call communicator.destroy() in a JVM shutdown hook to make sure that it will get called whatever happens? Or can it take unreasonably long time?
Also, is there a reason finally blocks are not used for destroying a communicator in Java/C# client examples in the Reference Manual?

Reply With Quote