aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2015-01-01 20:39:41 +0100
committerSamuel Tardieu <sam@rfc1149.net>2015-01-01 20:39:41 +0100
commitdab337885fdf8bba934a5d63ec237b145d00a580 (patch)
treec690b0bee92980eddf8b259a98e9101534c1e4ca /main
parent2551e9aff6d4c885643fa2113141fe7183a8bb66 (diff)
parent4dc40ca2390b11f555bf6c1a660928c828d60d1b (diff)
downloadcgeo-dab337885fdf8bba934a5d63ec237b145d00a580.zip
cgeo-dab337885fdf8bba934a5d63ec237b145d00a580.tar.gz
cgeo-dab337885fdf8bba934a5d63ec237b145d00a580.tar.bz2
Merge branch 'issue-4563' into upstream
Diffstat (limited to 'main')
-rw-r--r--main/src/cgeo/geocaching/network/HtmlImage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/network/HtmlImage.java b/main/src/cgeo/geocaching/network/HtmlImage.java
index 406dcbb..ac5e047 100644
--- a/main/src/cgeo/geocaching/network/HtmlImage.java
+++ b/main/src/cgeo/geocaching/network/HtmlImage.java
@@ -91,7 +91,7 @@ public class HtmlImage implements Html.ImageGetter {
// Background loading
final private PublishSubject<Observable<String>> loading = PublishSubject.create();
- final private Observable<String> waitForEnd = Observable.merge(loading).publish().refCount();
+ final private Observable<String> waitForEnd = Observable.merge(loading).cache();
final private CompositeSubscription subscription = new CompositeSubscription(waitForEnd.subscribe());
/**