Memory leak when subscription is cancelled #111
Labels
bug
Something isn't working
closing-soon
pending-response
Issue is pending response from the issue requestor
Describe the bug
subscriptionsById still holds the subscription instance after it is cancelled and unsubscribed.
I believe the cause is this line
aws-mobile-appsync-sdk-android/aws-android-sdk-appsync/src/main/java/com/amazonaws/mobileconnectors/appsync/subscription/RealSubscriptionManager.java
Line 106 in 55717d1
It try to remove the instance by key but the value is passed to the remove function
The text was updated successfully, but these errors were encountered: