diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-03-12 20:15:59 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-03-12 20:15:59 -0700 |
commit | bc1766a4967ad60fcdd78aec7991816268336c13 (patch) | |
tree | 8a9d04c572a490c96eca160101cfb405ece9b1d8 /subsonic-android | |
parent | 830eaacb5e082d39b51d5a8de401f97211a2c6e4 (diff) | |
download | dsub-bc1766a4967ad60fcdd78aec7991816268336c13.tar.gz dsub-bc1766a4967ad60fcdd78aec7991816268336c13.tar.bz2 dsub-bc1766a4967ad60fcdd78aec7991816268336c13.zip |
Fix proxy killing
Diffstat (limited to 'subsonic-android')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 2 |
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; } |