Skip to content

GH-2471: MQTT: Fix Thread Leak #2472

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

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

garyrussell
Copy link
Contributor

Fixes #2471

Call close() on the client whenever the connection is lost or can't be
established, to release resources in the client.

cherry-pick to 5.0.x, 4.3.x

Fixes spring-projects#2471

Call `close()` on the client whenever the connection is lost or can't be
established, to release resources in the client.

**cherry-pick to 5.0.x, 4.3.x**
@artembilan artembilan merged commit f9cea64 into spring-projects:master Jun 6, 2018
@artembilan
Copy link
Member

... and cherry-picked to 5.0.x.
Back-ported to 4.3.x after resolving some conflicts in test class.

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.

Reconnection / retry error with Paho MQTT 1.2 leads to ever increasing thread usage
2 participants