Build: #231 was successful Manual run by Florian Schmaus

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
10 minutes
Labels
None
Agent
Default Agent
Revision
c9af6576c07fa94f6f6be22d8f5a50a7ebf9a426
Total tests
815
First to pass since
#228 (Changes by Florian Schmaus <flo@geekplace.eu>)

Tests

Code commits

Author Commit Message Commit date
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> c9af6576c07fa94f6f6be22d8f5a50a7ebf9a426 Merge pull request #529 from Flowdalic/fix-sd-memleak
[disco] Fix memory leak in ServiceDiscoveryManager
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> 69e81b748ed95a1b4422c44141a39968691475d9 [disco] Only perform entity capabilities work if there are any listeners
Florian Schmaus <flo@geekplace.eu> Florian Schmaus <flo@geekplace.eu> 5b6dd8e3f77a1e2deec0b4be32ca34759a7027cf [disco] Fix memory leak in ServiceDiscoveryManager
The lambda we schedule in 25ms captures a strong reference to the
XMPPConnection. However the lambda is part of the scheduled action,
which we save in the renewEntityCapsScheduledAction field. This causes
a memory leak, since the ServiceDiscoveryManager now holds a strong
reference to its XMPPConnection.

Fix this by obtaining the strong reference to the XMPPConnection, if
one still exists, within the lambda.

Fixes SMACK-926.

Reported-by: Damian Minkov <damencho@jitsi.org>

Jira issues

IssueDescriptionStatus
Unknown Issue TypeSMACK-926Could not obtain issue details from Jira