nyholku/purejavacomm — pull request #21 by roniegh (2013-03-23 00:29:38+00:00)
Title: After calling CancelIo, wait for all IO operations to finish before closing handles and freeing OVERLAPPED structures.

This fixes a bug found by Kusti, where a stack corruption could occur when an OVERLAPPED structure is released before all IO operations are finished.