MatterHackers/MatterControl — pull request #149 by jlewin (2014-12-31 22:17:39+00:00)
Title: Cleanup resources after USB disconnect while Connected - Fixes #85321330

Ensures that "Port in Use" is avoided for this known disconnect behavior. Calls AbortConnectionAttempt to close down open resources before notifying the application of the disconnect through OnConnectionFailed. See https://www.pivotaltracker.com/story/show/85321330 for more details