Skip to content

Commit f083b77

Browse files
author
AmandaRiu
committed
Fix leak of anonymous OnCancelListener reference
1 parent 7f4542d commit f083b77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vendored/WordPressLoginFlow/src/main/java/org/wordpress/android/login/LoginBaseFormFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ protected void endProgress() {
237237

238238
if (mProgressDialog != null) {
239239
mProgressDialog.cancel();
240+
mProgressDialog.setOnCancelListener(null);
240241
mProgressDialog = null;
241242
}
242243

0 commit comments

Comments
 (0)