Open tunjid opened 8 years ago
The InstagramEngine class holds a static reference to whatever context was passed in, this causes a memory leak. The reference held should be context.getApplicationContext, not context.
The library CanaryLeak says that InstgramEngine.instagramLoginButtonCallback is leaking the memory of InstagramAuthActivity.
The InstagramEngine class holds a static reference to whatever context was passed in, this causes a memory leak. The reference held should be context.getApplicationContext, not context.