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

DolphinWX: Prevent Dolphin to be shutdown when closing cmd.exe #5883

Merged
merged 1 commit into from Aug 6, 2017

Conversation

sepalani
Copy link
Contributor

@sepalani sepalani commented Aug 4, 2017

That behaviour was introduced while switching to optparse by attaching the console. If FreeConsole isn't called all instances of Dolphin running on that console will get lost. AFAIC, that's not the default behaviour of a cmd.exe console and is slightly annoying.

Ready to be reviewed & merged.

@leoetlino
Copy link
Member

Does this have any other side effect?

@sepalani
Copy link
Contributor Author

sepalani commented Aug 6, 2017

Besides preventing the use of stdout/stderr (on Windows) again, I don't think there is any other side effect. Especially, since the only thing writing on stdout/stderr (on Windows) is optparse and that's done during ParseCommandLine().

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What could go wrong then?

@leoetlino leoetlino merged commit 1385444 into dolphin-emu:master Aug 6, 2017
@sepalani sepalani deleted the term-close branch August 6, 2017 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants