Skip to content

Fixed issue with closing non-open FTDevices#4

Open
plinnie wants to merge 2 commits intopkocsis:masterfrom
plinnie:master
Open

Fixed issue with closing non-open FTDevices#4
plinnie wants to merge 2 commits intopkocsis:masterfrom
plinnie:master

Conversation

@plinnie
Copy link

@plinnie plinnie commented Feb 22, 2017

Calling FTDevice.getDevices(true) creates an FTDevice instance. When these are GC-ed the close() handle is called. Even though these devices are never opened, their handle may refer to an FTDevice instnace which is in use, closing it accidentally

Calling FTDevice.getDevices(true) creates an FTDevice instance. When these are GC-ed the close() handle is called. Even though these devices are never opened, there handle may refer to an FTDevice instnace which is in use, closing it accidentally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant