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

Delete leaking controls #42

Closed
wants to merge 2 commits into from

Conversation

cpill0789
Copy link
Member

Using the shutdown command line output I found all leaking controls that I could delete and added deletion code in the relevant destructor methods. The leaking flanger controls are a special case, so I didn't bother figuring them out right now, but I fixed all of the other leaking controls.

delete m_pControlVinylStatus;
delete m_pControlVinylSpeedType;
delete m_pControlVinylSeek;
Copy link
Member

Choose a reason for hiding this comment

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

might as well make these alphabetical

Copy link
Member Author

Choose a reason for hiding this comment

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

I put them in the same order that they were initialized in the constructor. Is alphabetically preferable?

Copy link
Member

Choose a reason for hiding this comment

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

the official googley style is to destruct things in reverse order of construction (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Static_and_Global_Variables#Static_and_Global_Variables)

…ction order (following google style guidelines).
@cpill0789 cpill0789 closed this Aug 2, 2013
@cpill0789
Copy link
Member Author

I'm going to move these changes to another branch with typos and improvements to general mixxx code I've found during GSoC, which I will merge at the end of the summer.

@ywwg
Copy link
Member

ywwg commented Aug 3, 2013

If they are all minor fixes and corrections, there's no reason not to merge them right away.

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.

2 participants