Skip to content

Commit 7dd42c3

Browse files
maskaravivekashishkumar468
authored andcommitted
Fix memory leak (#3001)
1 parent 82d1201 commit 7dd42c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/fr/free/nrw/commons/upload/UploadActivity.java

+2
Original file line numberDiff line numberDiff line change
@@ -455,5 +455,7 @@ protected void onDestroy() {
455455
super.onDestroy();
456456
presenter.onDetachView();
457457
compositeDisposable.clear();
458+
mediaLicenseFragment.setCallback(null);
459+
uploadCategoriesFragment.setCallback(null);
458460
}
459461
}

0 commit comments

Comments
 (0)