mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
NetworkLibrary NPE fix
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@1323 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
31889171f3
commit
f9d2dc1335
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ public class NetworkLibrary {
|
||||||
toRemove.add(srTree);
|
toRemove.add(srTree);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (srTree.Result != mySearchResult) {
|
if (srTree != null && srTree.Result != mySearchResult) {
|
||||||
toRemove.add(srTree);
|
toRemove.add(srTree);
|
||||||
srTree = null;
|
srTree = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue