nefarius / ViGEmClient

ViGEm Client SDK for feeder development.
https://docs.nefarius.at/projects/ViGEm/
MIT License
138 stars 66 forks source link

ViGEmClient is not disconnecting #22

Closed ya-isakov closed 2 years ago

ya-isakov commented 2 years ago

Describe the bug I've found that in ViGEmClient from master, vigem_disconnect just hangs. I think, the issue is in commit 3e8eb4c8, as version from previous commit, 70abff0, has no such issue

To Reproduce Steps to reproduce the behavior (example):

  1. vigem_alloc
  2. vigem_connect
  3. vigem_disconnect
  4. hangs

Expected behavior vigem_disconnect doesn't hang

Screenshots N/A

System details (please complete the following information):

Additional context I'm using my rust wrapper, but I think it's not a cause, as it was working before that commit.

nefarius commented 2 years ago

Thanks for reporting, I think I already know what's going on, will investigate soon!

nefarius commented 2 years ago

@ya-isakov could you please retry most recent master again?

Cheers

ya-isakov commented 2 years ago

It works now correctly, thank you!