disposing live objects and waiting for a natural death of the threads don't work as when the shutdown hook executes, the main thread could be still alive (and thus ComThread associated with it won't die.)
disposing live objects and waiting for a natural death of the threads don't work as when the shutdown hook executes, the main thread could be still alive (and thus ComThread associated with it won't die.)

Instead, it's better to make the kill() method graceful, as it was before (and not making it block until the thread dies was an incompatible change, so this change also fixes that)

git-svn-id: 4ae09e382c2a76b6ebc3f2fe23f30bdcc02c4078@364 590aa308-3dd6-4388-9d27-cebafe3e2bdc

archiecobbs/com4j,kohsuke/com4j,archiecobbs/com4j,kohsuke/com4j,kohsuke/com4j,archiecobbs/com4j,kohsuke/com4j,archiecobbs/com4j