Jan Hoffmann
Jan Hoffmann
Added line after your suggestion - unfortunately nothing has changed :(.
Tried this as well - nothing changed... 👎
I've tried adding GC.Collect to close() in uwp/_nodert_generated.cpp but always get problems with compilation flags while recompiling.
I'm testing your update, and disconnecting seems to work correctly when added global.gc() as you mentioned, which is great! There is only one problem, I suposse that after disconnecting device...
I can connect, disconnect, and connect again, which gives me the same effect. Anyway, big thanks for helping with this!
As I said after upgrade I can disconnect the devices - but sometimes It takes up to 5 minutes after calling disconnect() and global.gc().
@jasongin totally unpredictable, but more frequently devices disconnect immediately when It is their first connection after starting Windows. Next tries take more time.
Same story as @taktran here, can you reproduce this?
> Hmm... this worked for me. Are you doing anything with the device besides connecting before turning it off? I've tried same code as @mhle on 0.5.4 to detect turning...
For now we created a hack, but It will be really nice when this feature will work natively, thanks for your attention. Also now in 0.5.4 the disconnect delay is...