-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Milestone
Description
- LeakCanary version: 1.6.2 / master (cefc33d)
- Device: Emulator Nexus 5 API 26
Create the following activity:
public class MainActivity extends Activity {
static class Lol {
static Object foo;
}
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Lol.foo = this;
}
}
Start the activity, then press back to finish it. The activity is now leaking. LeakCanary triggers as expected, but then concludes that there is no actual leak. That's incorrect.
Metadata
Metadata
Assignees
Labels
No labels