return early instead of cancelling

This commit is contained in:
PrototypeTrousers
2022-09-30 19:55:35 -03:00
parent 95d8216992
commit ddfac3a339
+1 -1
View File
@@ -103,7 +103,7 @@ public class ItemRepo {
public void updateView() {
if (searchTask != null) {
searchTask.cancel(true);
return;
}
// Since sortSrc is final, so we can safely call it inside lambda