Skip to content

Commit ee81877

Browse files
This error seemed to occur on compositeDisposable.clear() so null checked there (commons-app#4525)
1 parent 2a9ae73 commit ee81877

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/java/fr/free/nrw/commons/contributions/ContributionBoundaryCallback.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ class ContributionBoundaryCallback @Inject constructor(
7070
}
7171
)
7272
}else {
73-
compositeDisposable.clear()
73+
if (compositeDisposable != null){
74+
compositeDisposable.clear()
75+
}
7476
}
7577
}
7678

0 commit comments

Comments
 (0)