kohsuke/com4j — pull request #21 by guykv (2013-11-26 13:51:49+00:00)
Title: Fixed issue 16 by removing from liveComObjects in dispose()

This change adds a method to remove references from the liveComObjects set in ComThread and calls it from Wrapper.dispose(). The effect is clearly visible in this plot from VisualVM (using the same test program as in my comment on issue #16):

![image](https://f.cloud.github.com/assets/3527671/1622220/6425ba34-56a1-11e3-9a86-c1752cda6b45.png)

The work threads and ComThread threads are now discarded on every iteration (as I suppose they should).