You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An anonymous inner class will hold a reference to the this pointer of the outer class and will not be released until the thread ends.
It will hold the Activity and prevent its timely release. Please check the links below.
If it is necessary, it can be changed to static class + weak reference to eliminate the reference to the activity, which may cause memory leaks.
Further discussion is welcome.
The text was updated successfully, but these errors were encountered:
Possible Memory Leak
An anonymous inner class will hold a reference to the this pointer of the outer class and will not be released until the thread ends.
It will hold the Activity and prevent its timely release. Please check the links below.
Occurrences
https://github.com/snikket-im/snikket-android/blob/master/src/main/java/eu/siacs/conversations/ui/RecordingActivity.java#L140
https://github.com/snikket-im/snikket-android/blob/master/src/main/java/eu/siacs/conversations/ui/RtpSessionActivity.java#L320
Possible Solution
If it is necessary, it can be changed to static class + weak reference to eliminate the reference to the activity, which may cause memory leaks.
Further discussion is welcome.
The text was updated successfully, but these errors were encountered: