Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SI_GCAdapter: properly clean up libusb #1821

Merged
merged 1 commit into from Jan 5, 2015
Merged

Conversation

Tilka
Copy link
Member

@Tilka Tilka commented Jan 3, 2015

@skidau: The !SConfig::GetInstance().m_GameCubeAdapter check isn't really needed, is it?

@skidau
Copy link
Contributor

skidau commented Jan 4, 2015

I tested similar code in #1763.

The Init and Shutdown code should be written so that they may be called more than once per Dolphin session (the code in this PR looks ok here).

The m_GameCubeAdapter check is needed as a kill switch. After putting the m_GameCubeAdapter check back, this PR can be merged.

skidau added a commit that referenced this pull request Jan 5, 2015
SI_GCAdapter: properly clean up libusb
@skidau skidau merged commit b65d5d6 into dolphin-emu:master Jan 5, 2015
@Tilka Tilka deleted the memleak branch January 5, 2015 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants