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

Clear all connections in SessionManager during HomekitRoot.stop() #55

Merged

Conversation

timcharper
Copy link
Contributor

This is an attempt to resolve issue #54, which I've observed during development of the Openhab2 homekit addon.

There's lot of inconsistent uses of tabs vs spaces throughout the project, and
this is leading to some weird diffs. I submit the project should just enforce
formatting during compile time and just remove any doubt. This way contributors
won't need to update their Eclipse configuration to match, as long as they run
mvn compile, it'll format correctly.
@timcharper
Copy link
Contributor Author

timcharper commented Jan 21, 2019

In order to reduce the turmoil of whitespace diffs, this PR is based on PR #53; we should decide and merge it before merging this, if this patch ends up being the right way to solve issue #54 .

The unique part of this PR is in 7e8f98e

@andylintner
Copy link
Collaborator

Just rerunning the CI on this after merging #53, then I'll merge this as well.

@andylintner andylintner merged commit 97ae5ad into hap-java:master Feb 3, 2019
@timcharper
Copy link
Contributor Author

@beowulfe I wasn't sure if this was the ideal way to solve this and was hoping to get your opinion on it first; I guess it seemed like a reasonable solution? :)

@andylintner
Copy link
Collaborator

@timcharper - yep, I think it's great. I've used checkstyle in the past, but I don't have an opinion on it vs google's.

@timcharper timcharper deleted the tharper/fix-session-manager-leaks branch February 3, 2019 22:03
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