aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index eee56aad..95cbae2b 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -947,7 +947,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
}
dataSource = String.format("http://127.0.0.1:%d/%s", proxy.getPort(), dataSource);
Log.i(TAG, "Data Source: " + dataSource);
- } else {
+ } else if(proxy != null) {
proxy.stop();
proxy = null;
}