diff options
author | daneren2005 <daneren2005@gmail.com> | 2013-03-27 08:48:57 -0700 |
---|---|---|
committer | daneren2005 <daneren2005@gmail.com> | 2013-03-27 08:48:57 -0700 |
commit | 957028375c384e5d74e4b13b2fde54377397683a (patch) | |
tree | 153dd44e96560a9d8977128488c5aa4f6c3b0f2a | |
parent | 8033605b0c6ddb00f123ba6e0306d26bd3baf311 (diff) | |
download | dsub-957028375c384e5d74e4b13b2fde54377397683a.tar.gz dsub-957028375c384e5d74e4b13b2fde54377397683a.tar.bz2 dsub-957028375c384e5d74e4b13b2fde54377397683a.zip |
Don't join, doesn't matter if StreamProxy.stop() is synchronous and it might be run in the UI thread
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java b/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java index 17399ee8..13dbf479 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java @@ -62,11 +62,6 @@ public class StreamProxy implements Runnable { public void stop() {
isRunning = false;
thread.interrupt();
- try {
- thread.join(5000);
- } catch (InterruptedException e) {
- Log.e(TAG, "Exception stopping server", e);
- }
}
@Override
|